Fix splash screen appearance
BIN
app/src/main/res/drawable-hdpi/splash_fg.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
Before Width: | Height: | Size: 20 KiB |
BIN
app/src/main/res/drawable-mdpi/splash_fg.png
Normal file
After Width: | Height: | Size: 4.3 KiB |
BIN
app/src/main/res/drawable-xhdpi/splash_fg.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
app/src/main/res/drawable-xxhdpi/splash_fg.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
app/src/main/res/drawable-xxxhdpi/splash_fg.png
Normal file
After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 22 KiB |
12
app/src/main/res/drawable/splash_bg.xml
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:top="0dp"
|
||||
android:bottom="0dp"
|
||||
android:left="0dp"
|
||||
android:right="0dp"
|
||||
android:drawable="@color/colorPrimary"/>
|
||||
<item
|
||||
android:drawable="@drawable/splash_fg"
|
||||
android:gravity="center"/>
|
||||
</layer-list>
|
|
@ -9,7 +9,7 @@
|
|||
</style>
|
||||
|
||||
<style name="AppTheme.Splash" parent="AppTheme">
|
||||
<item name="android:windowBackground">@drawable/bg_splash</item>
|
||||
<item name="android:windowBackground">@drawable/splash_bg</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.NoActionBar">
|
||||
|
|