summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2020-02-05 00:54:44 +0100
committerGitHub <noreply@github.com>2020-02-05 00:54:44 +0100
commit80364984840ba981d6ba8a713a6483623fe6bfd6 (patch)
tree877f29642889159407be2edf7c3a3c9bc2b925a6 /core/src
parent3f85413b8d360a94f068dae9332bef27a740fd49 (diff)
parent116125f7217cdaca96bd910a65ada52558392ab0 (diff)
downloadAntennaPod-80364984840ba981d6ba8a713a6483623fe6bfd6.zip
Merge pull request #3787 from ByteHamster/splash-for-all-screens
Display splash for all screens
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/res/values-v26/styles.xml6
-rw-r--r--core/src/main/res/values/styles.xml6
2 files changed, 11 insertions, 1 deletions
diff --git a/core/src/main/res/values-v26/styles.xml b/core/src/main/res/values-v26/styles.xml
new file mode 100644
index 000000000..87453eb5e
--- /dev/null
+++ b/core/src/main/res/values-v26/styles.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <style name="Theme.AntennaPod.Splash" parent="Theme.Base.AntennaPod.Splash">
+ <item name="android:windowSplashscreenContent">@drawable/bg_splash</item>
+ </style>
+</resources> \ No newline at end of file
diff --git a/core/src/main/res/values/styles.xml b/core/src/main/res/values/styles.xml
index f5b43629c..5656ca0e9 100644
--- a/core/src/main/res/values/styles.xml
+++ b/core/src/main/res/values/styles.xml
@@ -268,7 +268,11 @@
<item name="android:windowExitAnimation">@android:anim/fade_out</item>
</style>
- <style name="Theme.AntennaPod.Dark.Splash" parent="Theme.AppCompat.NoActionBar">
+ <style name="Theme.AntennaPod.Splash" parent="Theme.Base.AntennaPod.Splash">
+ <!-- Room for API dependent attributes -->
+ </style>
+
+ <style name="Theme.Base.AntennaPod.Splash" parent="Theme.AppCompat.NoActionBar">
<item name="android:windowBackground">@drawable/bg_splash</item>
<item name="colorPrimary">@color/ic_launcher_background</item>
<item name="colorPrimaryDark">@color/ic_launcher_background</item>