To keep it short: Is this a collapsing toolbar or a Persistent Bottom Sheet?
First I thought it's a collapsing toolbar, but the scroll-up isn't that smooth on an collapsing toolbar and stops before expanding again.
Also Google Play Music is using bottom sheets for the same effect: When google presented the bottom sheets they used google play music for example. So I think in the Gif are also bottom sheets used - but how are those working? How to archive this effect including the parallax effect?
答案 0 :(得分:2)
The behavior you are looking for is achieved with a CoordinatorLayout. An in-depth tutorial about how to enable and manipulate these behaviors can be found here - https://guides.codepath.com/android/Handling-Scrolls-with-CoordinatorLayout
Hope this gets you started in the right direction :)