How do I implement a bottom sheet where the components above depend on the size and movement of that bottom sheet?

I need to implement this interface. Closed bottom sheet It is layout

closed Bottom Sheet

.

Open Bottom Sheet It layout

's open Bottom Sheet

.

I have implemented Bottom Sheet

both in design, but my problem is which Bottom Sheet

fits Recycler View

. I want to implement this as in design - when I open it Bottom Sheet

, mine Recycler View

will shrink dynamically in size. Tell me how to set this behavior for Bottom Sheet

. How to get the distance between Toolbar

and top Bottom Sheet

and how to reduce the size Recycler View

with animation on opening Bottom Sheet

?

+3


source to share





All Articles