Make the launch background drawable compatible with older Android API levels (#69255)
This commit is contained in:
@@ -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="?android:colorBackground" />
|
||||
|
||||
<!-- You can insert your own image assets here -->
|
||||
<!-- <item>
|
||||
<bitmap
|
||||
android:gravity="center"
|
||||
android:src="@mipmap/launch_image" />
|
||||
</item> -->
|
||||
</layer-list>
|
||||
@@ -1,7 +1,7 @@
|
||||
<?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="?android:colorBackground" />
|
||||
<item android:drawable="@android:color/white" />
|
||||
|
||||
<!-- You can insert your own image assets here -->
|
||||
<!-- <item>
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"templates/app/android.tmpl/app/src/debug/AndroidManifest.xml.tmpl",
|
||||
"templates/app/android.tmpl/app/src/main/AndroidManifest.xml.tmpl",
|
||||
"templates/app/android.tmpl/app/src/main/res/drawable/launch_background.xml",
|
||||
"templates/app/android.tmpl/app/src/main/res/drawable-v21/launch_background.xml",
|
||||
"templates/app/android.tmpl/app/src/main/res/mipmap-hdpi/ic_launcher.png",
|
||||
"templates/app/android.tmpl/app/src/main/res/mipmap-mdpi/ic_launcher.png",
|
||||
"templates/app/android.tmpl/app/src/main/res/mipmap-xhdpi/ic_launcher.png",
|
||||
|
||||
Reference in New Issue
Block a user