滑动布局像谷歌地图V7 [英] sliding layout like google maps v7

查看:201
本文介绍了滑动布局像谷歌地图V7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试着去得到相同的结果,新的谷歌地图,当你在任何标记龙头你在屏幕下方一点点的布局,所有信息对srteet视图,并显示有其他细节,当你持有和移动你的手指在屏幕上的布局动作和c在屏幕的所有画面或一半之上。我在想使用slidingDrawer,但似乎谷歌德preceate在API 17这种方法让我怎么能做到这一点?
IM连接的例子的图像:

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:

推荐答案

现在从Android的支持库23.2,我们可以使用的设计支持库:底部的纸张

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

在这里输入的形象描述

这篇关于滑动布局像谷歌地图V7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆