简体   繁体   中英

How to make movable slideshow at the start of android application?

First of all I apologise for my English, because I am maybe not specific enough. I would like to make a slideshow at the start of android application. For example you can see the android application of linkedIN. I don´t want it to move on its own. I want user to move it. There will be eg three pictures with text fields and buttons and user will be able to move them right or left. Is there any tutorial how to make this probably easy thing? Thanks in advance.

You can use the ViewPagerIndicator Library by Jake Wharton

Source: ViewPagerIndicator

A complete example of implementing ViewPagerIndicator is available here & might be useful,

Android Jake Wharton ViewPager Indicator Tutorial

You can use ViewFlipper widget provided with Android SDK as follows:


Step1:Add ViewFlipper element into you activity layout xml.Inside ViewFlipper element add Three ImageView elements
Step2: Use either buttons[Next or Prev.] to navigate across images
Step3: Use Proper Events to detect swipe

For details refer link: http://javatechig.com/android/android-viewflipper-example

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM