修复启动时的闪烁问题 #78

This commit is contained in:
HapeLee committed 2025-10-09 19:40:33 +08:00
1 parent 3b6338aa69
commit bbceb80f5c
6 files changed
+42 -39

No files matched your search

+4 -2
View File
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:background="?attr/colorSurface">
</androidx.constraintlayout.widget.ConstraintLayout>
+6
View File
@@ -13,6 +13,12 @@
<item name="bottomNavigationStyle">@style/Widget.Material3Expressive.BottomNavigationView</item>
</style>
<style name="Theme.App.Starting" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">?attr/colorSurface</item>
<item name="windowSplashScreenAnimatedIcon">@mipmap/ic_launcher_round</item>
<item name="postSplashScreenTheme">@style/Base.AppTheme</item>
</style>
<style name="ThemeOverlay.WhiteBackground" parent="">
<item name="colorOnPrimary">@color/wh_theme_onPrimary</item>
<item name="colorOnSecondary">@color/wh_theme_onSecondary</item>