feat: 更新启动背景颜色和图标,优化 H5ShellPage 的加载体验

This commit is contained in:
Booker
2026-05-27 17:51:00 +07:00
parent 76897c6e0f
commit f1f08947d2
9 changed files with 273 additions and 109 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -4,8 +4,8 @@
<shape android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#E7F4FF"
android:centerColor="#F8FBFF"
android:startColor="#EAF7FF"
android:centerColor="#F8FCFF"
android:endColor="#FFFFFF" />
</shape>
</item>

View File

@@ -4,8 +4,8 @@
<shape android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#E7F4FF"
android:centerColor="#F8FBFF"
android:startColor="#EAF7FF"
android:centerColor="#F8FCFF"
android:endColor="#FFFFFF" />
</shape>
</item>

View File

@@ -2,13 +2,13 @@
<resources>
<style name="LaunchTheme" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:windowSplashScreenBackground">#F8FBFF</item>
<item name="android:windowSplashScreenBackground">#F6FAFF</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/splash_android12_icon</item>
<item name="android:windowSplashScreenIconBackgroundColor">#F8FBFF</item>
<item name="android:windowSplashScreenIconBackgroundColor">#F6FAFF</item>
</style>
<style name="NormalTheme" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowBackground">#F6FAFF</item>
<item name="android:statusBarColor">@android:color/white</item>
</style>
</resources>

View File

@@ -13,7 +13,7 @@
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowBackground">#F6FAFF</item>
<item name="android:statusBarColor">@android:color/white</item>
</style>
</resources>

View File

@@ -2,13 +2,13 @@
<resources>
<style name="LaunchTheme" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:windowSplashScreenBackground">#F8FBFF</item>
<item name="android:windowSplashScreenBackground">#F6FAFF</item>
<item name="android:windowSplashScreenAnimatedIcon">@drawable/splash_android12_icon</item>
<item name="android:windowSplashScreenIconBackgroundColor">#F8FBFF</item>
<item name="android:windowSplashScreenIconBackgroundColor">#F6FAFF</item>
</style>
<style name="NormalTheme" parent="@android:style/Theme.Material.Light.NoActionBar">
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowBackground">#F6FAFF</item>
<item name="android:statusBarColor">@android:color/white</item>
</style>
</resources>

View File

@@ -13,7 +13,7 @@
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">@android:color/white</item>
<item name="android:windowBackground">#F6FAFF</item>
<item name="android:statusBarColor">@android:color/white</item>
</style>
</resources>