[Android] Fix navigation bar background in Bottom Sheets

Nicolas Pomepuy git at videolan.org
Tue May 26 10:19:50 CEST 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed May 20 14:14:39 2020 +0200| [f888f0f741fa1585754101ef070437b58e853a2e] | committer: Nicolas Pomepuy

Fix navigation bar background in Bottom Sheets

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

 application/vlc-android/res/values/styles.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/application/vlc-android/res/values/styles.xml b/application/vlc-android/res/values/styles.xml
index a87dbc872..032a7cc1b 100644
--- a/application/vlc-android/res/values/styles.xml
+++ b/application/vlc-android/res/values/styles.xml
@@ -600,6 +600,8 @@
     <style name="AppBottomSheetDialogTheme" parent="ThemeOverlay.MaterialComponents.Dialog">
         <item name="android:windowBackground">@android:color/transparent</item>
         <item name="bottomSheetStyle">@style/AppModalStyle</item>
+        <item name="android:windowIsFloating">false</item>
+        <item name="android:statusBarColor">@android:color/transparent</item>
 
     </style>
 



More information about the Android mailing list