How to switch the image one by one through left swipe or right in android?

∥☆過路亽.° 提交于 2020-01-02 20:18:09

问题


I have bunch of images.i want show all images one by one through swipe left or right.Can any one help me.


回答1:


Then you can use page curl effects for images.

You can turn right or left. Hope this might helps you.

http://code.google.com/p/android-page-curl/




回答2:


Use ViewPagerIndicator.It works well for your requirement.

The best example is there.Jake Wharton's View Pager indicator.

https://github.com/JakeWharton/Android-ViewPagerIndicator




回答3:


For apis < 16 you can use the Gallery widgvet (http://developer.android.com/reference/android/widget/Gallery.html)

Another solution is to use a Viewpager, please check this post: Gallery of images using ViewPager + zoom in ImageViews



来源:https://stackoverflow.com/questions/14832947/how-to-switch-the-image-one-by-one-through-left-swipe-or-right-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!