Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to implement vertical sliding actionbar(like in the grofers app)

I want to implement a layout in which the action bar is below an image. And, on sliding the screen up, the actionbar should also move up, along with the image. The action bar should then go to the topmost point of the screen and stop.

This is implemented in many apps like the grofers app.

I don't mind using an external library for the same.

Thanks.

like image 403
Sid Avatar asked Jun 28 '15 20:06

Sid


3 Answers

Go Through this awesome Demo Sample Code using Android Design Support Library Coordinator Layout.

image

like image 200
Vipul Asri Avatar answered Nov 01 '22 21:11

Vipul Asri


Please go through this,It shows some of the important features in the new Design library:

https://github.com/chrisbanes/cheesesquare

like image 38
Sunny Avatar answered Nov 01 '22 22:11

Sunny


As per your requirement Here is sample code link.

Please check this

like image 32
Narendra Motwani Avatar answered Nov 01 '22 22:11

Narendra Motwani