material-components-android
material-components-android copied to clipboard
[BottomSheetBehavior] specially treat child's top margin
I needed BottomSheetBehavior to work with top margin being set to its view. Currently this is buggy and gives various card jumps. I also need this behavior with fitToContents = true
I've done more testing and left only special top margin treatment
This is ready for review
Any update on this one? It looks like it might also fix the issue with that standard marginTopSystemWindowInsets=true attribute. See https://github.com/material-components/material-components-android/issues/3380