From f741cdf794cdf7356b1c597b2c3c95ddf70fbef2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E2=80=9Cxxx=E2=80=9D?= <651952673@qq.com>
Date: Thu, 21 Dec 2023 00:39:44 +0800
Subject: [PATCH] =?UTF-8?q?Signed-off-by:=20=E2=80=9Czsy=E2=80=9D=20<65195?=
=?UTF-8?q?2673@qq.com>12-21?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/Notes-master/res/color/primary_text_dark.xml | 15 ++++++++++++---
.../res/color/secondary_text_dark.xml | 5 +++--
src/Notes-master/res/drawable/new_note.xml | 11 +++++++++++
src/Notes-master/res/values-zh-rTW/strings.xml | 2 +-
4 files changed, 27 insertions(+), 6 deletions(-)
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 @@
-
+