11

I have to create an image gallery that navigation dots like the iPhone gallery.

Check out the screenshot. I need such a widget, look at the white dots:

iPhone-like image gallery in Android with navigation dots

Is there any widget available in Android that includes navigation dots? If not, how can I recreate this effect?

Brian Webster
  • 30,033
  • 48
  • 152
  • 225
Venky
  • 11,049
  • 5
  • 49
  • 66

6 Answers6

12

After Long days i found View Pager Navigation Dots from Github source

enter image description here

enter image description here

Venky
  • 11,049
  • 5
  • 49
  • 66
  • I have imported Github library and sample project in eclipse. library giving error "R can't be resolved to a variable. any one can help" – Manwal Apr 07 '14 at 05:40
1

On my Arcos Tablet there is something like this used for the homescreen navigation - I am afraid it might be a custom widget though so you might have to write it yourself ...

If you know the name of the iPhone widget which does what you want (IF there is a particular name for it) - then google that in the following fashion: widgetName+for android - or something like this - I guess you're getting the idea :).

Ready4Android
  • 2,022
  • 2
  • 25
  • 29
1

This link could be usefull : Android Scroll Pagination

Check out for : UipageControl (within UiScrollView). That's the name of the IPhone Class.

Community
  • 1
  • 1
Alexandre Nucera
  • 2,183
  • 2
  • 21
  • 34
1

You can do that really easily using the GreenDroid library. Example: https://github.com/cyrilmottier/GreenDroid/blob/master/GDCatalog/src/com/cyrilmottier/android/gdcatalog/PagedViewActivity.java

Cheers

Mokkun
  • 1,796
  • 1
  • 23
  • 32
1

You will need to create a custom component that uses View.ViewPager, which is part of the android compatibility package. An example of this can be found here.

Phil
  • 35,852
  • 23
  • 123
  • 164
0

You can write your own one... or google about it :)

http://developer.android.com/resources/tutorials/views/hello-gallery.html

http://www.androidpeople.com/android-gallery-imageview-example

you may not find exactly what you look for but you can style the controls as you like ;)

Kartik Domadiya
  • 29,868
  • 19
  • 93
  • 104
Adrian Pirvulescu
  • 4,308
  • 3
  • 30
  • 47