BottomSheetDialogFragment ShapeAppearance bug
See original GitHub issueI have discovered a strange behavior. If I set this snipped as a shapeAppearanceOverlay to the bottom sheet, I get a glitch. When I try to close the bottom sheet by dragging to the bottom I can see that rounded corners animate out for a moment and return back after that. I think it should be rounded all the way while I’m dragging the dialog and became square only in full height mode, shouldn’t it?
<style name="ShapeAppearanceOverlay.App.BottomSheet.Modal" parent="ShapeAppearanceOverlay.MaterialComponents.BottomSheet.Modal">
<item name="cornerSizeTopLeft">@dimen/custom_corner_large</item>
<item name="cornerSizeTopRight">@dimen/custom_corner_large</item>
</style>
Issue Analytics
- State:
- Created 4 years ago
- Reactions:17
- Comments:15 (6 by maintainers)
Top Results From Across the Web
Round corner for BottomSheetDialogFragment - Stack Overflow
Note to all: Using this answer will cause all component using ShapeAppearance.MaterialComponents.LargeComponent to have same cornerSize and ...
Read more >Kizito Nwose on Twitter: "@chmeadow I use the ShapeAppearance ...
I'm using really naive code to show a bottom sheet dialog fragment: class ... BottomSheetDialogFragment ShapeAppearance bug · Issue #325 ...
Read more >Modal Bottom Sheets - Material Design
BottomSheetDialogFragment is a thin layer on top of the regular support library Fragment that renders your fragment as a modal bottom sheet, ...
Read more >ShapeAppearanceModel | Android Developers
This class models the edges and corners of a shape, which are used by MaterialShapeDrawable to generate and render the shape for a...
Read more >Customizing your bottom sheet's corners - Bryan Herbst
... right shape for your bottom sheet is to define a shape appearance. ... (both BottomSheetDialog and BottomSheetDialogFragment ), you can ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Alpha09 is here but still no fix for that issue 😭
Having exactly the same issue 👍