Rounded bottom sheets

This commit is contained in:
arkon
2021-02-01 22:23:29 -05:00
parent d4081dc899
commit 6662e2002f
3 changed files with 18 additions and 2 deletions
+13
View File
@@ -56,6 +56,19 @@
<item name="android:windowIsFloating">false</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">?attr/colorPrimary</item>
<item name="bottomSheetStyle">@style/Theme.BottomSheet.Style</item>
</style>
<style name="Theme.BottomSheet.Style" parent="Widget.MaterialComponents.BottomSheet">
<item name="shapeAppearanceOverlay">@style/Theme.BottomSheet.Style.ShapeAppearance</item>
</style>
<style name="Theme.BottomSheet.Style.ShapeAppearance" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSizeTopRight">8dp</item>
<item name="cornerSizeTopLeft">8dp</item>
<item name="cornerSizeBottomRight">0dp</item>
<item name="cornerSizeBottomLeft">0dp</item>
</style>