From 025b0aade0e96c95862cc7143ab9779533e84d2f Mon Sep 17 00:00:00 2001 From: yovinchen Date: Thu, 28 Nov 2024 09:20:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B7=B1=E8=89=B2?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E5=BC=80=E5=B1=8F=E7=99=BD=E5=B1=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 values-night/themes.xml 中设置窗口背景色为黑色 - 在 values/themes.xml 中明确设置窗口背景色为白色 - 修改主题文件确保在不同主题模式下有正确的背景色 --- app/src/main/res/values-night/themes.xml | 6 ++++++ app/src/main/res/values/themes.xml | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 app/src/main/res/values-night/themes.xml diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml new file mode 100644 index 0000000..1816f34 --- /dev/null +++ b/app/src/main/res/values-night/themes.xml @@ -0,0 +1,6 @@ + + + + diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index b3a2f57..fd07bfd 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,5 +1,6 @@ - - \ No newline at end of file