mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-10-05 21:39:50 +02:00
Load HLS video instead of Dash video to support older Android versions. Fixed app crashes on opening video or images on older Android versions.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp"
|
||||
android:paddingBottom="16dp"
|
||||
android:background="@color/transparentActionBarColor"
|
||||
android:background="@color/transparentActionBarAndExoPlayerControllerColor"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
|
@@ -6,7 +6,7 @@
|
||||
|
||||
<color name="downvoted">#E91E63</color>
|
||||
|
||||
<color name="transparentActionBarColor">#88000000</color>
|
||||
<color name="transparentActionBarAndExoPlayerControllerColor">#88000000</color>
|
||||
|
||||
<color name="gold">#FFC107</color>
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<color name="colorPrimaryDark">#0D47A1</color>
|
||||
<color name="colorAccent">#FF4081</color>
|
||||
|
||||
<color name="transparentActionBarColor">#88000000</color>
|
||||
<color name="transparentActionBarAndExoPlayerControllerColor">#88000000</color>
|
||||
|
||||
<color name="gold">#FFC107</color>
|
||||
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user