How to implement a vertical action bar (for example, in the gropes application)

I want to implement a layout in which the action bar is below the image. And by moving the screen up, the action bar should also move up, along with the image. Then the action bar should go to the top of the screen and stop.

This is implemented in many applications, such as the gropes application.

I do not mind using an external library for the same.

Thanks.

+5
source share
4 answers

Go through this awesome sample code demo using the Android Design Support Library Layout Coordinator .

image

+3
source

Please read this. It shows some important features in the new Design library:

https://github.com/chrisbanes/cheesesquare

+2
source

According to your requirement, here is sample code.

Please check it

+1
source

I found a library for your requirement. find the link You must customize this library to suit your needs.

0
source

All Articles