Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sliding layout like google maps v7

Im trying to get the same result as new google maps, when you "tap" on any "marker" you get a little layout in bottom of the screen, all the info about the srteet view and other details shown there, when you hold and move your finger to top of the screen the layout moves and c over all screen or half of the screen. i was thinking use slidingDrawer but seems google depreceate this method on api 17. so how i can achieve this? Im attaching the image of example: enter image description here

like image 755
Javier Avatar asked Aug 14 '13 16:08

Javier


2 Answers

you could look into using this SlidingUpPanel which appears to be exactly what you are looking for

like image 85
tyczj Avatar answered Oct 06 '22 00:10

tyczj


Now from with Android Support Library 23.2 we can use Design Support Library: Bottom Sheets

enter image description here

like image 31
LOG_TAG Avatar answered Oct 05 '22 22:10

LOG_TAG