Fix transparent navbar when bottom sheets are opened (fixes #3848)

(cherry picked from commit d548c690d6)
This commit is contained in:
arkon
2020-11-22 15:49:57 -05:00
committed by Jobobby04
parent 0228d4611a
commit d0293fef0a
2 changed files with 13 additions and 0 deletions
+11
View File
@@ -52,6 +52,17 @@
</style>
<!--===========-->
<!--BottomSheet-->
<!--===========-->
<style name="Theme.BottomSheet" parent="ThemeOverlay.MaterialComponents.BottomSheetDialog">
<item name="android:windowIsFloating">false</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">?attr/colorPrimary</item>
</style>
<!--===============-->
<!--Text Appearance-->
<!--===============-->
+2
View File
@@ -57,6 +57,7 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="dialogTheme">@style/Theme.AlertDialog.Light</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
<item name="chipStyle">@style/Theme.Widget.Chip</item>
<item name="buttonStyle">@style/Theme.Widget.Button</item>
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>
@@ -152,6 +153,7 @@
<item name="preferenceTheme">@style/PreferenceThemeOverlay</item>
<item name="dialogTheme">@style/Theme.AlertDialog.Dark</item>
<item name="alertDialogTheme">@style/Theme.AlertDialog.Dark</item>
<item name="bottomSheetDialogTheme">@style/Theme.BottomSheet</item>
<item name="chipStyle">@style/Theme.Widget.Chip</item>
<item name="buttonStyle">@style/Theme.Widget.Button</item>
<item name="snackbarStyle">@style/Theme.Widget.Snackbar</item>