Added a app loading splash Screen (#2185)
* Added a app loading splash Screen. Just a theme that plays on start up before loading the actual app theme * Added a app loading splash Screen. Just a theme that plays on start up before loading the actual app theme * Update splash_background.xml
This commit is contained in:
8
app/src/main/res/drawable/splash_background.xml
Normal file
8
app/src/main/res/drawable/splash_background.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/colorSplash"/>
|
||||
<item
|
||||
android:gravity="center"
|
||||
android:drawable="@mipmap/ic_launcher_round">
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -84,4 +84,6 @@
|
||||
|
||||
<color name="md_teal_500">#009688</color>
|
||||
|
||||
<color name="colorSplash">#455A64</color>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -1,6 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
|
||||
<!--=============-->
|
||||
<!--Splash Screen-->
|
||||
<!--=============-->
|
||||
|
||||
<style name="SplashScreenBackground" parent="Theme.Tachiyomi">
|
||||
<item name="android:windowBackground">@drawable/splash_background</item>
|
||||
</style>
|
||||
|
||||
|
||||
<!--========-->
|
||||
<!--Toolbars-->
|
||||
<!--========-->
|
||||
|
||||
Reference in New Issue
Block a user