Fix expanding bottom sheet when not enough content (#15)

This commit makes sure bottom sheet dialog has the size
of its contents. That way it doesn't expand further than it
should. Fixes #4
This commit is contained in:
Kirill Kamakin
2021-11-27 19:40:41 +03:00
committed by GitHub
parent a15fac7c7e
commit f74973e40a

View File

@@ -26,7 +26,6 @@
<style name="NoShapeBottomSheet" parent="Widget.MaterialComponents.BottomSheet.Modal"> <style name="NoShapeBottomSheet" parent="Widget.MaterialComponents.BottomSheet.Modal">
<item name="shapeAppearance">@null</item> <item name="shapeAppearance">@null</item>
<item name="shapeAppearanceOverlay">@null</item> <item name="shapeAppearanceOverlay">@null</item>
<item name="behavior_fitToContents">false</item>
<item name="android:background">@drawable/recipe_info_background</item> <item name="android:background">@drawable/recipe_info_background</item>
</style> </style>
</resources> </resources>