Fix blue theme sometimes showing partially dynamic (#7294)

This commit is contained in:
ByteHamster 2024-07-18 23:15:44 +02:00 committed by GitHub
parent 30dca237fd
commit 3fe187eea5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 11 additions and 3 deletions

View File

@ -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" />

View File

@ -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>