Change splash screen for Android
(cherry picked from commit 669771ec1f6971b094f82e56fca2e910b8882427)
This commit is contained in:
committed by
Dat H. Pham
parent
cdc4d74e67
commit
a59642e733
@@ -5,11 +5,10 @@
|
||||
<!-- Show a splash screen on the activity. Automatically removed when
|
||||
Flutter draws its first frame -->
|
||||
<item name="android:windowBackground">@drawable/launch_background</item>
|
||||
<item name="android:windowFullscreen">false</item>
|
||||
<item name="android:colorControlActivated" tools:targetApi="lollipop">@color/colorPrimary</item>
|
||||
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
|
||||
<item name="android:windowSplashScreenBackground" tools:targetApi="s">@drawable/launch_background</item>
|
||||
<item name="android:windowSplashScreenBrandingImage" tools:targetApi="s">@drawable/branding</item>
|
||||
<item name="android:forceDarkAllowed">false</item>
|
||||
<item name="android:windowFullscreen">false</item>
|
||||
<item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item>
|
||||
</style>
|
||||
<!-- Theme applied to the Android Window as soon as the process has started.
|
||||
This theme determines the color of the Android Window while your
|
||||
@@ -24,4 +23,4 @@
|
||||
<item name="android:windowSplashScreenBackground" tools:targetApi="s">@drawable/launch_background</item>
|
||||
<item name="android:windowSplashScreenBrandingImage" tools:targetApi="s">@drawable/branding</item>
|
||||
</style>
|
||||
</resources>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user