File tree Expand file tree Collapse file tree 4 files changed +20
-18
lines changed Expand file tree Collapse file tree 4 files changed +20
-18
lines changed Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- Modify this file to customize your launch splash screen -->
32<layer-list xmlns : android =" http://schemas.android.com/apk/res/android" >
4- <item android : drawable =" ?android:colorBackground" />
5-
6- <!-- You can insert your own image assets here -->
7- <!-- <item>
8- <bitmap
9- android:gravity="center"
10- android:src="@mipmap/launch_image" />
11- </item> -->
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 >
129</layer-list >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <!-- Modify this file to customize your launch splash screen -->
32<layer-list xmlns : android =" http://schemas.android.com/apk/res/android" >
4- <item android : drawable =" @android:color/white" />
5-
6- <!-- You can insert your own image assets here -->
7- <!-- <item>
8- <bitmap
9- android:gravity="center"
10- android:src="@mipmap/launch_image" />
11- </item> -->
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 >
129</layer-list >
Original file line number Diff line number Diff line change 55 <!-- Show a splash screen on the activity. Automatically removed when
66 the Flutter engine draws its first frame -->
77 <item name =" android:windowBackground" >@drawable/launch_background</item >
8+ <item name =" android:forceDarkAllowed" >false</item >
9+ <item name =" android:windowFullscreen" >false</item >
10+ <item name =" android:windowDrawsSystemBarBackgrounds" >false</item >
11+ <item name =" android:windowLayoutInDisplayCutoutMode" >shortEdges</item >
812 </style >
913 <!-- Theme applied to the Android Window as soon as the process has started.
1014 This theme determines the color of the Android Window while your
Original file line number Diff line number Diff line change 55 <!-- Show a splash screen on the activity. Automatically removed when
66 the Flutter engine draws its first frame -->
77 <item name =" android:windowBackground" >@drawable/launch_background</item >
8+ <item name =" android:forceDarkAllowed" >false</item >
9+ <item name =" android:windowFullscreen" >false</item >
10+ <item name =" android:windowDrawsSystemBarBackgrounds" >false</item >
11+ <item name =" android:windowLayoutInDisplayCutoutMode" >shortEdges</item >
812 </style >
913 <!-- Theme applied to the Android Window as soon as the process has started.
1014 This theme determines the color of the Android Window while your
You can’t perform that action at this time.
0 commit comments