I need to implement approximately this UI functionality.
This is a layout with a closed Bottom Sheet .
This is an open layout Bottom Sheet .
I implemented Bottom Sheet as a layout, but my problem is that Bottom Sheet climbs over the Recycler View . I want to do as in the design - so that when opening the Bottom Sheet my Recycler View dynamically decreases in size. Please tell me how Bottom Sheet can be set to behave, how do I know the distance from the Toolbar to the top of the Bottom Sheet and how I can dynamically reduce the Recycler View with the animation when opening the Bottom Sheet .