进行下拉“视图”的教程在安卓中?
这是我最近经常看到的一个 UI 元素(在《纽约时报》应用程序和 Grooveshark 应用程序中),我想学习如何实现它,但我找不到指南。有谁知道实现此类事情的教程或指南,或者这些是自定义实现吗?
This is a UI element that I have seen a lot lately (in the NY Times app and Grooveshark App) and I want to learn how to implement it but I can't find a guide. Does anyone know of a tutorial or guide for implementing such a thing or are these custom implementations?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您无法制作一个可以从上到下或从左到右的滑动抽屉,我可以推荐 http://blog.sephiroth.it/2011/03/29/widget-slidingdrawer-top-to-bottom/
if you lack the possibility to make a slidingdrawer that can go from top to bottem or left to right i can recommand http://blog.sephiroth.it/2011/03/29/widget-slidingdrawer-top-to-bottom/
请查看 http://code.google.com/p/android-misc-widgets/ 。获取带有示例的源代码。也许正是您正在寻找的东西。 (虽然这只是向下->向上据我所知)
Check out http://code.google.com/p/android-misc-widgets/. Get the sourcecode with samples. Might maybe be what you are looking for. (Though it is only down->up afaik)
我发现 android 中有一个名为 SlidingDrawer 的 UI 元素可以做到这一点。 http://developer.android.com/reference/android/widget/SlidingDrawer.html
I discovered that there is a UI element in android called SlidingDrawer that does just this. http://developer.android.com/reference/android/widget/SlidingDrawer.html