开发者

Android Swipe View?

开发者 https://www.devze.com 2023-04-10 03:38 出处:网络
I don\'t know if you guys have ever heard of the app chomp bu开发者_开发知识库t 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

I don't know if you guys have ever heard of the app chomp bu开发者_开发知识库t 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

Android Swipe View?


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?


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/

0

精彩评论

暂无评论...
验证码 换一张
取 消