google material -> 1.6.0

This commit is contained in:
Jays2Kings 2022-05-05 16:31:27 -04:00
parent e230bab4b4
commit e0bbb1a24c
2 changed files with 5 additions and 3 deletions

View file

@ -134,7 +134,7 @@ dependencies {
// Android X libraries // Android X libraries
implementation("androidx.appcompat:appcompat:1.4.1") implementation("androidx.appcompat:appcompat:1.4.1")
implementation("androidx.cardview:cardview:1.0.0") implementation("androidx.cardview:cardview:1.0.0")
implementation("com.google.android.material:material:1.5.0") implementation("com.google.android.material:material:1.6.0")
implementation("androidx.webkit:webkit:1.4.0") implementation("androidx.webkit:webkit:1.4.0")
implementation("androidx.recyclerview:recyclerview:1.2.1") implementation("androidx.recyclerview:recyclerview:1.2.1")
implementation("androidx.preference:preference:1.2.0") implementation("androidx.preference:preference:1.2.0")

View file

@ -131,9 +131,11 @@
<item name="android:elevation">5dp</item> <item name="android:elevation">5dp</item>
</style> </style>
<!-- set the rounded drawable as background to your bottom sheet -->
<style name="BottomSheetDialogTheme" parent="@style/ThemeOverlay.Material3.BottomSheetDialog"> <style name="BottomSheetDialogTheme" parent="@style/ThemeOverlay.Material3.BottomSheetDialog">
<item name="bottomSheetStyle">@style/BottomSheet.Modal</item>
</style>
<style name="BottomSheet.Modal" parent="Widget.Material3.BottomSheet.Modal">
<item name="paddingBottomSystemWindowInsets">false</item> <item name="paddingBottomSystemWindowInsets">false</item>
<item name="paddingLeftSystemWindowInsets">false</item> <item name="paddingLeftSystemWindowInsets">false</item>
<item name="paddingRightSystemWindowInsets">false</item> <item name="paddingRightSystemWindowInsets">false</item>