From 380d70f2f1cd03b314fa6de64df30eab914956ba Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期一, 24 三月 2025 09:56:42 +0800 Subject: [PATCH] fix 324 免登陆,删除ActionBar --- app/src/main/res/values-night/themes.xml | 5 ++++- 1 files changed, 4 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..39e726f 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> -- Gitblit v1.9.3