Skip to content

Commit 4ce6681

Browse files
committed
build: Splash screen set up for iOS and Android
1 parent 1fdcacd commit 4ce6681

File tree

15 files changed

+21
-15
lines changed

15 files changed

+21
-15
lines changed
964 KB
Loading
572 KB
Loading
1.33 MB
Loading
2.3 MB
Loading
3.48 MB
Loading

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
66
the Flutter engine draws its first frame -->
7-
<item name="android:windowBackground">@drawable/launch_background</item>
7+
<item name="android:windowBackground">@mipmap/splash</item>
88
</style>
99
<!-- Theme applied to the Android Window as soon as the process has started.
1010
This theme determines the color of the Android Window while your

android/app/src/main/res/values/styles.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
55
<!-- Show a splash screen on the activity. Automatically removed when
66
the Flutter engine draws its first frame -->
7-
<item name="android:windowBackground">@drawable/launch_background</item>
7+
<item name="android:windowBackground">@mipmap/splash</item>
88
</style>
99
<!-- Theme applied to the Android Window as soon as the process has started.
1010
This theme determines the color of the Android Window while your
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"images" : [
33
{
4+
"filename" : "SplashScreen.png",
45
"idiom" : "universal",
5-
"filename" : "LaunchImage.png",
66
"scale" : "1x"
77
},
88
{
9+
"filename" : "[email protected]",
910
"idiom" : "universal",
10-
"filename" : "[email protected]",
1111
"scale" : "2x"
1212
},
1313
{
14+
"filename" : "[email protected]",
1415
"idiom" : "universal",
15-
"filename" : "[email protected]",
1616
"scale" : "3x"
1717
}
1818
],
1919
"info" : {
20-
"version" : 1,
21-
"author" : "xcode"
20+
"author" : "xcode",
21+
"version" : 1
2222
}
2323
}
-68 Bytes
Binary file not shown.
-68 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)