Skip to content

Commit fe69772

Browse files
committed
mobile splash generated assets cleanup
1 parent 952f1f6 commit fe69772

File tree

7 files changed

+28
-9
lines changed

7 files changed

+28
-9
lines changed
69 Bytes
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item>
4+
<bitmap android:gravity="fill" android:src="@drawable/background"/>
5+
</item>
6+
<item>
7+
<bitmap android:gravity="center" android:src="@drawable/splash"/>
8+
</item>
9+
</layer-list>
69 Bytes
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
3+
<item>
4+
<bitmap android:gravity="fill" android:src="@drawable/background"/>
5+
</item>
6+
<item>
7+
<bitmap android:gravity="center" android:src="@drawable/splash"/>
8+
</item>
9+
</layer-list>

android/app/src/main/res/values-night-v31/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<item name="android:windowFullscreen">false</item>
77
<item name="android:windowDrawsSystemBarBackgrounds">false</item>
88
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
9-
<item name="android:windowSplashScreenBackground">#F7F7F7</item>
9+
<item name="android:windowSplashScreenBackground">#2A2D34</item>
1010
</style>
1111
<!-- Theme applied to the Android Window as soon as the process has started.
1212
This theme determines the color of the Android Window while your

ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22
"images" : [
33
{
44
"filename" : "background.png",
5-
"idiom" : "universal",
6-
"scale" : "1x"
5+
"idiom" : "universal"
76
},
87
{
9-
"idiom" : "universal",
10-
"scale" : "2x"
11-
},
12-
{
13-
"idiom" : "universal",
14-
"scale" : "3x"
8+
"appearances" : [
9+
{
10+
"appearance" : "luminosity",
11+
"value" : "dark"
12+
}
13+
],
14+
"filename" : "darkbackground.png",
15+
"idiom" : "universal"
1516
}
1617
],
1718
"info" : {
69 Bytes
Loading

0 commit comments

Comments
 (0)