iPhone-like navigation dots for Android

前端 未结 6 1228
清歌不尽
清歌不尽 2021-01-31 22:48

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:

相关标签:
6条回答
  • 2021-01-31 23:07

    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 :).

    0 讨论(0)
  • 2021-01-31 23:11

    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.

    0 讨论(0)
  • 2021-01-31 23:12

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

    enter image description here

    enter image description here

    0 讨论(0)
  • 2021-01-31 23:17

    This link could be usefull : Android Scroll Pagination

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

    0 讨论(0)
  • 2021-01-31 23:31

    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 ;)

    0 讨论(0)
  • 2021-01-31 23:32

    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

    0 讨论(0)
提交回复
热议问题