[Android] Fix themes
Geoffrey Métais
git at videolan.org
Tue Dec 10 10:17:48 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey at videolan.org> | Tue Dec 10 10:17:47 2019 +0100| [12467f8e33c8a415915314f819ff8759939b09fd] | committer: Nicolas Pomepuy
Fix themes
> https://code.videolan.org/videolan/vlc-android/commit/12467f8e33c8a415915314f819ff8759939b09fd
---
vlc-android/res/values-v21/styles.xml | 2 +-
vlc-android/res/values/styles.xml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/vlc-android/res/values-v21/styles.xml b/vlc-android/res/values-v21/styles.xml
index 39ba668c1..cc169f40b 100644
--- a/vlc-android/res/values-v21/styles.xml
+++ b/vlc-android/res/values-v21/styles.xml
@@ -5,7 +5,7 @@
<item name="android:background">@drawable/bottom_sheet_background</item>
</style>
- <style name="Theme.VLC.Player" parent="Theme.VLC.Player.7">
+ <style name="Theme.VLC.Player" parent="Theme.VLC.Player.19">
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:statusBarColor">@color/status_bar_transparency</item>
<item name="android:navigationBarColor">@color/status_bar_transparency</item>
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index e204519e3..f4c9c55ac 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -339,7 +339,7 @@
<item name="android:windowBackground">@color/grey200</item>
</style>
- <style name="Theme.VLC.Transparent" parent="Theme.AppCompat.DayNight">
+ <style name="Theme.VLC.Transparent" parent="Theme.MaterialComponents.NoActionBar">
<item name="colorPrimary">@color/orange800</item>
<item name="colorPrimaryDark">@color/transparent</item>
<item name="colorAccent">@color/orange600</item>
@@ -347,7 +347,7 @@
<item name="android:windowIsTranslucent">true</item>
</style>
- <style name="Theme.VLC.Transparent.NoUI" parent="android:Theme">
+ <style name="Theme.VLC.Transparent.NoUI" parent="Theme.VLC.Transparent">
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowContentOverlay">@null</item>
More information about the Android
mailing list