Bottom sheet adjustments

This commit is contained in:
Zakhar Timoshenko
2023-06-04 13:55:06 +03:00
parent bece4cc15d
commit 32695f9816
5 changed files with 11 additions and 3 deletions

View File

@@ -45,10 +45,15 @@
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay.Kotatsu.BottomSheet</item>
</style>
<style name="Widget.Kotatsu.BottomSheet.DragHandle" parent="Widget.Material3.BottomSheet.DragHandle">
<!-- Fix weird bottom padding -->
<item name="android:paddingBottom">0dp</item>
</style>
<style name="ShapeAppearanceOverlay.Kotatsu.BottomSheet" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSizeTopRight">@dimen/dialog_radius</item>
<item name="cornerSizeTopLeft">@dimen/dialog_radius</item>
<item name="cornerSizeTopRight">@dimen/bottom_sheet_corner_radius</item>
<item name="cornerSizeTopLeft">@dimen/bottom_sheet_corner_radius</item>
<item name="cornerSizeBottomRight">0dp</item>
<item name="cornerSizeBottomLeft">0dp</item>
</style>