From c6adb1c42a76001de0978e99f73cd6f5678c685e Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期四, 13 三月 2025 09:22:17 +0800 Subject: [PATCH] add: 隐私协议+如何使用 --- app/src/main/res/values/themes.xml | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 1fe83df..e65a1fe 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -1,5 +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.DarkActionBar"> <!-- Primary brand color. --> <item name="colorPrimary">@color/purple_500</item> @@ -13,4 +14,21 @@ <item name="android:statusBarColor">?attr/colorPrimaryVariant</item> <!-- Customize your theme here. --> </style> + + <style name="Theme.FirstApp.Fullscreen" parent="Theme.FirstApp"> + <item name="android:actionBarStyle">@style/Widget.Theme.FirstApp.ActionBar.Fullscreen</item> + <item name="android:windowActionBarOverlay">true</item> + <item name="android:windowBackground">@null</item> + </style> + + <style name="ThemeOverlay.FirstApp.FullscreenContainer" parent=""> + <item name="fullscreenBackgroundColor">@color/light_blue_600</item> + <item name="fullscreenTextColor">@color/light_blue_A200</item> + </style> + + <style name="Theme.ContentDetail" parent="Theme.MaterialComponents.Light.NoActionBar"> + <!-- 其他属性保持不变 --> + <item name="windowActionBar">false</item> + <item name="windowNoTitle">true</item> + </style> </resources> \ No newline at end of file -- Gitblit v1.9.3