From 28dc6d062a4ce27441b7923e921a1e7ee7abc154 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期三, 26 三月 2025 14:22:21 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- app/src/main/res/values-night/themes.xml | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml index e992cf6..4925b55 100644 --- a/app/src/main/res/values-night/themes.xml +++ b/app/src/main/res/values-night/themes.xml @@ -1,6 +1,6 @@ <resources xmlns:tools="http://schemas.android.com/tools"> <!-- Base application theme. --> - <style name="Theme.FirstApp" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> + <style name="Theme.FirstApp" parent="Theme.MaterialComponents.DayNight.NoActionBar"> <!-- Primary brand color. --> <item name="colorPrimary">@color/purple_200</item> <item name="colorPrimaryVariant">@color/purple_700</item> @@ -11,6 +11,9 @@ <item name="colorOnSecondary">@color/black</item> <!-- Status bar color. --> <item name="android:statusBarColor">?attr/colorPrimaryVariant</item> + <!-- 确保没有ActionBar --> + <item name="windowActionBar">false</item> + <item name="windowNoTitle">true</item> <!-- Customize your theme here. --> </style> @@ -18,4 +21,9 @@ <item name="fullscreenBackgroundColor">@color/light_blue_900</item> <item name="fullscreenTextColor">@color/light_blue_A400</item> </style> + <!-- Base application theme. --> + <style name="Base.Theme.FirstApp" parent="Theme.Material3.DayNight.NoActionBar"> + <!-- Customize your dark theme here. --> + <!-- <item name="colorPrimary">@color/my_dark_primary</item> --> + </style> </resources> \ No newline at end of file -- Gitblit v1.9.3