aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/styles.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-09-10 08:41:54 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-09-10 08:41:54 +0000
commit354a215209d3181ec6d233164f457a1266f05afb (patch)
tree6a8a2238984a9e2a643b29742a43babc203e6d11 /app/src/main/res/values/styles.xml
parentf4515514c10d2f653a638bcdef6bc7ba1ac494b0 (diff)
downloadinfinity-for-reddit-354a215209d3181ec6d233164f457a1266f05afb.tar
infinity-for-reddit-354a215209d3181ec6d233164f457a1266f05afb.tar.gz
infinity-for-reddit-354a215209d3181ec6d233164f457a1266f05afb.tar.bz2
infinity-for-reddit-354a215209d3181ec6d233164f457a1266f05afb.tar.lz
infinity-for-reddit-354a215209d3181ec6d233164f457a1266f05afb.tar.xz
infinity-for-reddit-354a215209d3181ec6d233164f457a1266f05afb.tar.zst
infinity-for-reddit-354a215209d3181ec6d233164f457a1266f05afb.zip
Load HLS video instead of Dash video to support older Android versions. Fixed app crashes on opening video or images on older Android versions.
Diffstat (limited to 'app/src/main/res/values/styles.xml')
-rw-r--r--app/src/main/res/values/styles.xml9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index e4119c67..0b7ea5c2 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -28,7 +28,7 @@
</style>
<style name="AppTheme.ActionBar.Transparent" parent="AppTheme">
- <item name="colorPrimary">@color/transparentActionBarColor</item>
+ <item name="android:windowBackground">@android:color/black</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
</style>
@@ -37,13 +37,6 @@
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.DayNight" />
- <style name="Theme.AppCompat.Transparent" parent="AppTheme.ActionBar.Transparent">
- <item name="android:windowNoTitle">true</item>
- <item name="android:windowBackground">@android:color/transparent</item>
- <item name="android:colorBackgroundCacheHint">@null</item>
- <item name="android:windowIsTranslucent">true</item>
- </style>
-
<style name="CustomTabLayout" parent="Widget.Design.TabLayout">
<item name="tabIndicatorColor">@android:color/white</item>
<item name="tabIndicatorHeight">3dp</item>