[Android] Fix themes
Nicolas Pomepuy
git at videolan.org
Tue Dec 10 10:21:21 CET 2019
vlc-android | branch: 3.2.x | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Tue Dec 10 10:21:19 2019 +0100| [3af1841e3c064d2cd0ebcbb7f9edf38732f2a206] | committer: Nicolas Pomepuy
Fix themes
(Partial cherry pick from commit 12467f8e)
> https://code.videolan.org/videolan/vlc-android/commit/3af1841e3c064d2cd0ebcbb7f9edf38732f2a206
---
vlc-android/res/values/styles.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index aa10e3b94..dbcbe3ee5 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -305,7 +305,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>
@@ -313,7 +313,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