Skip to content

[BottomSheetBehavior] Support child's marginTop #2105

Open
@emakar

Description

Currently BottomSheetBehavior with marginTop behaves badly - child jumps on screen depending on layout phase and appears in different places when showing
Also it's impossible to use both fisToContents and expanded offset. The only workaround is to set marginTop to CoordinatorLayout, however this greatly limits other views in this parent

The solution is to support marginTop as if it were with an expanded offset compatible with fisToContents.
One possible soulution is proposed in #2094

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions