From efafbbf142c81c233c71de636a2d3ce9dc2124f0 Mon Sep 17 00:00:00 2001
From: Linjiajia <319408893@qq.com>
Date: 星期二, 12 九月 2023 19:20:05 +0800
Subject: [PATCH] 修复bug
---
app/src/main/res/values/themes.xml | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 5b0ea0d..300f121 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -1,6 +1,6 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
- <style name="Theme.Zhangshi_app_android" parent="Theme.MaterialComponents.DayNight.NoActionBar">
+ <style name="Theme.Zhangshi_app_android" parent="Theme.MaterialComponents.DayNight.NoActionBar.Bridge">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
@@ -15,6 +15,8 @@
</style>
<style name="Theme.app" parent="Theme.AppCompat.DayNight.NoActionBar">
+ <!-- 鍏ㄥ眬瀛椾綋 -->
+ <item name="android:fontFamily">@font/roboto_regular</item>
<!-- 绐楀彛鑳屾櫙棰滆壊 -->
<item name="android:windowBackground">@color/windowBackground</item>
<!-- 搴旂敤鐨勪富瑕佽壊璋冿紝ActionBar Toolbar 榛樿浣跨敤璇ラ鑹� -->
@@ -40,4 +42,9 @@
<item name="android:overScrollMode">never</item>
</style>
+
+ <!-- 鍏ㄥ睆涓婚鏍峰紡 -->
+ <style name="FullScreenTheme" parent="Theme.app">
+ <item name="android:windowFullscreen">true</item>
+ </style>
</resources>
\ No newline at end of file
--
Gitblit v1.9.1