Fix: 真正修复双启动页 - 移除 windowBackground 覆盖,让系统启动窗口独占
Build Debug / Build Android Debug APK (push) Successful in 4m14s
Build iOS / Build iOS IPA (push) Successful in 11m46s
Build UUVPN / Build Android APK (push) Has been skipped
Build UUVPN / Build iOS IPA (push) Has been skipped
Build UUVPN / Create GitHub Release (push) Has been skipped
Build UUVPN / Send Notification (push) Successful in 0s
Build Debug / Build iOS Debug App (push) Has been cancelled

之前同时设置 windowBackground 和 windowSplashScreenAnimatedIcon 导致两个画面都显示 appstore.png,仍可见两个启动页。现在 SplashTheme 不再覆盖 windowBackground,仅由系统启动窗口显示 appstore.png,Activity 启动后直接进入主界面。
This commit is contained in:
2026-07-07 13:32:05 +08:00
parent 307f3c454a
commit da527b57af
3 changed files with 2 additions and 7 deletions
@@ -2,7 +2,5 @@
<resources>
<style name="BootstrapTheme" parent="AppThemeDark" />
<style name="SplashTheme" parent="BootstrapTheme">
<item name="android:windowBackground">@drawable/splash_background</item>
</style>
<style name="SplashTheme" parent="BootstrapTheme" />
</resources>
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="SplashTheme" parent="BootstrapTheme">
<item name="android:windowBackground">@drawable/splash_background</item>
<item name="android:windowSplashScreenBackground">@color/white</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/appstore</item>
<item name="android:windowSplashScreenIconBackgroundColor">@color/white</item>
@@ -2,7 +2,5 @@
<resources>
<style name="BootstrapTheme" parent="AppThemeLight" />
<style name="SplashTheme" parent="BootstrapTheme">
<item name="android:windowBackground">@drawable/splash_background</item>
</style>
<style name="SplashTheme" parent="BootstrapTheme" />
</resources>