diff options
-rw-r--r-- | app/src/main/AndroidManifest.xml | 2 | ||||
-rw-r--r-- | app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt | 2 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 10 |
3 files changed, 6 insertions, 8 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bd8776d1..e4fc0415 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -147,7 +147,7 @@ android:theme="@style/Kau.About" /> <activity android:name=".activities.ImageActivity" - android:theme="@style/FrostTheme.Transparent" /> + android:theme="@style/FrostTheme.Overlay" /> <activity android:name=".activities.DebugActivity" /> <service diff --git a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt index 814ce778..661b4526 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/activities/ImageActivity.kt @@ -162,7 +162,7 @@ class ImageActivity : KauBaseActivity() { setContentView(layout) image_container.setBackgroundColor( if (Prefs.blackMediaBg) Color.BLACK - else Prefs.bgColor.withMinAlpha(222) + else Prefs.bgColor.withMinAlpha(235) ) image_text?.setTextColor(if (Prefs.blackMediaBg) Color.WHITE else Prefs.textColor) image_text?.setBackgroundColor( diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 7816533b..33f36174 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -38,6 +38,9 @@ </style> <style name="FrostTheme.Overlay"> + <item name="android:windowBackground">@android:color/transparent</item> + <item name="android:backgroundDimEnabled">false</item> + <item name="android:colorBackgroundCacheHint">@null</item> <item name="android:windowIsTranslucent">true</item> </style> @@ -49,12 +52,7 @@ <item name="android:windowAnimationStyle">@style/KauFadeInFadeOut</item> </style> - <style name="FrostTheme.Video" parent="FrostTheme.Overlay.Fade"> - <item name="android:windowBackground">@android:color/transparent</item> - <item name="android:backgroundDimEnabled">false</item> - <item name="android:colorBackgroundCacheHint">@null</item> - <item name="android:windowIsTranslucent">true</item> - </style> + <style name="FrostTheme.Video" parent="FrostTheme.Overlay.Fade" /> <style name="FrostTheme.Settings" parent="FrostTheme"> <item name="android:windowAnimationStyle">@style/KauSlideInFadeOut</item> |