flutter: android: Replace splash from burly_wood to aths_special and add icon

And add normal_background.xml
This commit is contained in:
Calcitem 2021-04-05 23:10:22 +08:00
parent 8b808f42da
commit e8e736e4a9
4 changed files with 18 additions and 5 deletions

View File

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/burly_wood" />
<item android:drawable="@color/aths_special" />
<!-- You can insert your own image assets here -->
<!-- <item>
<item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
android:src="@mipmap/ic_launcher" />
</item>
</layer-list>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@color/crusoe" />
<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/ic_launcher" />
</item> -->
</layer-list>

View File

@ -5,4 +5,5 @@
<color name="asparagus">#769656</color>
<color name="aths_special">#eeeed2</color>
<color name="burly_wood">#deb887</color>
<color name="crusoe">#165B31</color>
</resources>

View File

@ -13,6 +13,6 @@
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">@color/burly_wood</item>
<item name="android:windowBackground">@drawable/normal_background</item>
</style>
</resources>