diff options
-rw-r--r-- | app/src/main/AndroidManifest.xml | 6 | ||||
-rw-r--r-- | ui/common/src/main/res/values/styles.xml | 8 |
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> |