Change splash screen to follow device theme (#256)

This commit is contained in:
Michel Le Bihan 2021-09-21 22:53:13 +02:00 committed by GitHub
parent 8c69964657
commit 6a7b999436
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View File

@ -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:color/white" />
<item android:drawable="@color/launch_background_color" />
<!-- You can insert your own image assets here -->
<!-- <item>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="launch_background_color">#303030</color>
</resources>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#ffffff</color>
</resources>
<color name="launch_background_color">#fafafa</color>
</resources>