If a bottom sheet has rounded courners it will animate its to sharp state if the sheet is fully expanded.
But I believe it should keep rounded corners if it height is smaller than the screen height and fit contents is true.
So we can see a nice rounded bottom sheet with a small menu for example.
@hrach When it will be merged?
No idea. Just linking pr. :-)
I have found a nice method BottomSheetBehavior::disableShapeAnimations() which is marked as LIBRARY_GROUP. It can do the trick as well but we need to get it as public.
Marking this as a dup of #463. I'll check-in on the PR status.
Most helpful comment
I have found a nice method
BottomSheetBehavior::disableShapeAnimations()which is marked asLIBRARY_GROUP. It can do the trick as well but we need to get it as public.