[Android] Fix bottomsheet style on API 19

Nicolas Pomepuy git at videolan.org
Mon May 6 16:26:56 CEST 2019


vlc-android | branch: master | Nicolas Pomepuy <nicolas.pomepuy at gmail.com> | Mon Apr 29 14:16:09 2019 +0200| [cb726518c0f235fe3a3680dd3da062fb4158a069] | committer: Geoffrey Métais

Fix bottomsheet style on API 19

> https://code.videolan.org/videolan/vlc-android/commit/cb726518c0f235fe3a3680dd3da062fb4158a069
---

 vlc-android/res/values-v21/styles.xml | 3 +++
 vlc-android/res/values/styles.xml     | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/vlc-android/res/values-v21/styles.xml b/vlc-android/res/values-v21/styles.xml
index fb7584f6a..e3bd88f06 100644
--- a/vlc-android/res/values-v21/styles.xml
+++ b/vlc-android/res/values-v21/styles.xml
@@ -26,5 +26,8 @@
     <!--<style name="PopupMenuStyle" parent="@style/Widget.AppCompat.PopupMenu">-->
     <!--<item name="android:overlapAnchor">true</item>-->
     <!--</style>-->
+    <style name="AppModalStyle" parent="Widget.Design.BottomSheet.Modal">
+        <item name="android:background">@drawable/bottom_sheet_background</item>
+    </style>
 
 </resources>
diff --git a/vlc-android/res/values/styles.xml b/vlc-android/res/values/styles.xml
index 776fa3ce7..00d6235ef 100644
--- a/vlc-android/res/values/styles.xml
+++ b/vlc-android/res/values/styles.xml
@@ -480,7 +480,6 @@
     </style>
 
     <style name="AppModalStyle" parent="Widget.Design.BottomSheet.Modal">
-        <item name="android:background">@drawable/bottom_sheet_background</item>
     </style>
 
     <style name="Theme.VLC.BottomSheetTitle">



More information about the Android mailing list