Unverified Commit 88bf732e authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Make the launch background drawable compatible with older Android API levels (#69255)

parent 23cc1401
<?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>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen --> <!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <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 --> <!-- You can insert your own image assets here -->
<!-- <item> <!-- <item>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
"templates/app/android.tmpl/app/src/debug/AndroidManifest.xml.tmpl", "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/AndroidManifest.xml.tmpl",
"templates/app/android.tmpl/app/src/main/res/drawable/launch_background.xml", "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-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-mdpi/ic_launcher.png",
"templates/app/android.tmpl/app/src/main/res/mipmap-xhdpi/ic_launcher.png", "templates/app/android.tmpl/app/src/main/res/mipmap-xhdpi/ic_launcher.png",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment