From 141b7ac554b8eddf46b841a30cfb35cc633a65cf Mon Sep 17 00:00:00 2001 From: markelgaston <33699179+markelgaston@users.noreply.github.com> Date: Thu, 9 Jan 2020 04:32:27 +0100 Subject: [PATCH] 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 --- app/src/main/AndroidManifest.xml | 3 ++- app/src/main/res/drawable/splash_background.xml | 8 ++++++++ app/src/main/res/values/colors.xml | 2 ++ app/src/main/res/values/styles.xml | 10 ++++++++++ 4 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/drawable/splash_background.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d2e855747c..3305a16f0e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -26,7 +26,8 @@ android:theme="@style/Theme.Tachiyomi"> + android:launchMode="singleTask" + android:theme="@style/SplashScreenBackground"> diff --git a/app/src/main/res/drawable/splash_background.xml b/app/src/main/res/drawable/splash_background.xml new file mode 100644 index 0000000000..d93992230b --- /dev/null +++ b/app/src/main/res/drawable/splash_background.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index eab6d88749..a921f9e011 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -84,4 +84,6 @@ #009688 + #455A64 + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 4c7297853a..10ec72f822 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,6 +1,16 @@ + + + + + + + +