summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <ByteHamster@users.noreply.github.com>2024-07-18 23:15:44 +0200
committerGitHub <noreply@github.com>2024-07-18 23:15:44 +0200
commit3fe187eea53691b357e0082e481879e52ecab529 (patch)
tree8df667896cddc075286aa2f6eec72b33c124bd97
parent30dca237fd2d404b117bb0dc4f7a6dc62e45a227 (diff)
downloadAntennaPod-3fe187eea53691b357e0082e481879e52ecab529.zip
Fix blue theme sometimes showing partially dynamic (#7294)
-rw-r--r--app/src/main/AndroidManifest.xml6
-rw-r--r--ui/common/src/main/res/values/styles.xml8
2 files changed, 11 insertions, 3 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 9b0415a5e..d4534e2ed 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -48,7 +48,7 @@
android:noHistory="true"
android:exported="false"
android:excludeFromRecents="true"
- android:theme="@style/Theme.AntennaPod.Light.Translucent">
+ android:theme="@style/Theme.AntennaPod.Splash.Translucent">
<intent-filter>
<action android:name="de.danoeh.antennapod.intents.PLAYBACK_SPEED" />
<category android:name="android.intent.category.DEFAULT"/>
@@ -192,7 +192,7 @@
<activity
android:name=".ui.screen.onlinefeedview.OnlineFeedViewActivity"
android:configChanges="orientation|screenSize"
- android:theme="@style/Theme.AntennaPod.Dark.Translucent"
+ android:theme="@style/Theme.AntennaPod.Splash.Translucent"
android:label="@string/add_feed_label"
android:exported="true">
<meta-data
@@ -314,7 +314,7 @@
<activity android:name=".activity.SelectSubscriptionActivity"
android:label="@string/shortcut_subscription_label"
android:icon="@drawable/ic_shortcut_subscriptions"
- android:theme="@style/Theme.AntennaPod.Dark.Translucent"
+ android:theme="@style/Theme.AntennaPod.Splash.Translucent"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.CREATE_SHORTCUT" />
diff --git a/ui/common/src/main/res/values/styles.xml b/ui/common/src/main/res/values/styles.xml
index 4513d6374..2cf3b3997 100644
--- a/ui/common/src/main/res/values/styles.xml
+++ b/ui/common/src/main/res/values/styles.xml
@@ -231,6 +231,14 @@
<item name="windowSplashScreenAnimatedIcon">@drawable/launcher_animate</item>
</style>
+ <style name="Theme.AntennaPod.Splash.Translucent" parent="Theme.AntennaPod.Splash">
+ <item name="android:windowIsTranslucent">true</item>
+ <item name="android:windowBackground">@android:color/transparent</item>
+ <item name="android:windowContentOverlay">@null</item>
+ <item name="android:backgroundDimEnabled">true</item>
+ <item name="android:windowAnimationStyle">@style/AnimationFade</item>
+ </style>
+
<style name="Style.AntennaPod.Toolbar" parent="Widget.Material3.Toolbar">
<item name="materialThemeOverlay">@style/Theme.AntennaPod.Toolbar</item>
</style>