1

Can anyone let me know how to implement this feature specified at

http://vimeo.com/24475654

Specially i am interested to know how to give dots below images which get changed when we swipe the images. Is there inbuilt function or any open source to implement this ??

2 Answers2

1

You can use the native Gallery to do this and extend it to look like the one you want. It has on selected item listeners so you can simply select the dots that correspond to the selected items.

Here is a Gallery tutorial: http://developer.android.com/resources/tutorials/views/hello-gallery.html

Cata
  • 11,133
  • 11
  • 65
  • 86
1

Another way to do it is by using ViewPager from android support package. Here is a tutorial on how to use it: Android User Interface Design: Horizontal View Paging

As for the 'dots' below you can refer to this custom library for a ViewPager indicator: JakeWharton / Android-ViewPagerIndicator

Bandreid
  • 2,727
  • 28
  • 47
  • how can i implement dot feature? –  Apr 06 '12 at 08:43
  • You can use one of the libraries for ViewPager indicators. I recommend this one: https://github.com/JakeWharton/Android-ViewPagerIndicator. Have a look – Bandreid Apr 06 '12 at 08:47