diff --git a/doc/read_note.docx b/doc/read_note.docx index 8b3bf8b..24782fc 100644 Binary files a/doc/read_note.docx and b/doc/read_note.docx differ diff --git a/src/Notes-master/res/color/primary_text_dark.xml b/src/Notes-master/res/color/primary_text_dark.xml index 7c85459..5ad1b63 100644 --- a/src/Notes-master/res/color/primary_text_dark.xml +++ b/src/Notes-master/res/color/primary_text_dark.xml @@ -1,5 +1,5 @@ - - + + + + - \ No newline at end of file + + \ No newline at end of file diff --git a/src/Notes-master/res/color/secondary_text_dark.xml b/src/Notes-master/res/color/secondary_text_dark.xml index c1c2384..81fad1e 100644 --- a/src/Notes-master/res/color/secondary_text_dark.xml +++ b/src/Notes-master/res/color/secondary_text_dark.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/src/Notes-master/res/drawable/new_note.xml b/src/Notes-master/res/drawable/new_note.xml index 2154ebc..f385747 100644 --- a/src/Notes-master/res/drawable/new_note.xml +++ b/src/Notes-master/res/drawable/new_note.xml @@ -13,6 +13,17 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. + 这段代码是一个 Android XML 文件,它定义了一个状态选择器(selector),用于根据控件的状态来显示不同的背景图片。 + +在这个 XML 文件中, 元素的命名空间被声明为 xmlns:android="http://schemas.android.com/apk/res/android"。 + +在 元素内部,包含了两个 元素。每个 元素定义了一个状态和对应的背景图片。 + +第一个 元素使用了 android:state_pressed="true" 属性,表示当控件被按下时的状态,并指定了对应的背景图片为 @drawable/new_note_pressed。 +第二个 元素没有指定任何状态,表示默认状态,并指定了对应的背景图片为 @drawable/new_note_normal。 +根据 Android 系统的状态选择器机制,当将这个选择器应用到一个控件上时,如果控件处于对应的状态,那么它将使用相应的背景图片来呈现。 + +此外,该文件还包含了版权声明和 Apache 许可证信息,表明该代码是受 Apache License, Version 2.0 许可的开源代码,使用时需要遵循许可证中的规定。 --> diff --git a/src/Notes-master/res/values-zh-rTW/strings.xml b/src/Notes-master/res/values-zh-rTW/strings.xml index 3c41894..e29b79b 100644 --- a/src/Notes-master/res/values-zh-rTW/strings.xml +++ b/src/Notes-master/res/values-zh-rTW/strings.xml @@ -1,4 +1,4 @@ - +