Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <info@niedermann.it>2020-07-02 13:56:18 +0300
committerStefan Niedermann <info@niedermann.it>2020-07-02 13:56:25 +0300
commitb9b6d73f977f2c2b26a7838d70996c2a9cd52fec (patch)
treed718c01c87ecafd1de911d424f17bc105987c4d0 /app/src/main
parent99542b6c39e498891b26de0f96ba5f0f47491ee6 (diff)
Fix splashscreen
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/res/drawable/splash_screen.xml2
-rw-r--r--app/src/main/res/values-v27/styles.xml7
2 files changed, 8 insertions, 1 deletions
diff --git a/app/src/main/res/drawable/splash_screen.xml b/app/src/main/res/drawable/splash_screen.xml
index 14234ed34..d22531b3f 100644
--- a/app/src/main/res/drawable/splash_screen.xml
+++ b/app/src/main/res/drawable/splash_screen.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
- <item android:drawable="@color/primary" />
+ <item android:drawable="@color/defaultBrand" />
<item>
<bitmap
diff --git a/app/src/main/res/values-v27/styles.xml b/app/src/main/res/values-v27/styles.xml
index a4cb71ece..15ac19bf3 100644
--- a/app/src/main/res/values-v27/styles.xml
+++ b/app/src/main/res/values-v27/styles.xml
@@ -7,4 +7,11 @@
<item name="android:navigationBarColor">?attr/colorPrimary</item>
<item name="android:windowLightNavigationBar">@bool/isDayMode</item>
</style>
+
+ <style name="SplashTheme" parent="Theme.AppCompat.NoActionBar">
+ <item name="android:windowBackground">@drawable/splash_screen</item>
+ <item name="colorPrimaryDark">@color/defaultBrand</item>
+ <item name="android:navigationBarColor">@color/defaultBrand</item>
+ <item name="android:windowLightNavigationBar">true</item>
+ </style>
</resources> \ No newline at end of file