Android 滑动视图?
我不知道你们是否听说过 chomp 这个应用程序,但该应用程序中有一个如下图所示的布局。我想知道他们如何设置这个,我将使用什么来为我自己的应用程序制作类似的东西。有趣的是,当您滑动时,没有像水平滚动视图那样的滚动条,并且不同的东西(例如卡入到位)。只是想知道我应该使用什么来获得相同的效果谢谢您的帮助
I don't know if you guys have ever heard of the app chomp but there is a layout in the app which looks like the image below. I'm wondering how they set this up what would i go about using to make something similar for my own application. The interesting part is when you swipe there is no scroll bar like a horizontal scroll view would have and the different things like snap into place. Just wondering what i should use to get this same effect thank you for any help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
也许是ViewPager?
http://android-developers.blogspot.com /2011/08/horizontal-view-swiping-with-viewpager.html
这将为您提供类似于在 Android Market 中的视图之间滑动的效果。我猜这就是你所描述的效果?
ViewPager, perhaps?
http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html
That will give you an effect similar to swiping between views in Android Market. I'm assuming that's the effect that you're describing?
SwipeView 是类似于主屏幕的 Android UI 视图。您可以通过向左和向右滑动来访问多个类似的内容窗格。当您左右滑动时,视图之间的过渡会以动画形式呈现,以便焦点视图跟随您的手指
http://droidweb.com/2011/03/implement-a- swipeview-in-android/
A SwipeView is an Android UI view similar to the homescreens. You have several similar panes of content that you access by swiping left and right. As you swipe left and right, transitions between the views are animated so that the view in focus follows your finger
http://droidweb.com/2011/03/implement-a-swipeview-in-android/