How to create bottom sheet effect which cover full activity when user scrolls up

Viewed 6566

As shown in Image, When user click on list a bottom sheet comes up and when user scroll up that bottom sheet cover full page just like an activity with toolbar.

How to achieve this ?? What is logic behind the scene ??

UI presentation of dialog behaviors on scroll up

2 Answers
Related