From 90b7acecef96a7b4927301847efbe11a1f0336c2 Mon Sep 17 00:00:00 2001
From: tj <1378534974@qq.com>
Date: 星期四, 20 三月 2025 15:10:38 +0800
Subject: [PATCH] 1.高级安全防护关键词
---
app/src/main/res/values/themes.xml | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 1fe83df..83c6e3c 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -1,9 +1,10 @@
<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>
- <item name="colorPrimaryVariant">@color/purple_700</item>
+ <item name="colorPrimary">@color/light_blue_new</item>
+ <item name="colorPrimaryVariant">@color/light_blue_new</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</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