I am going to finish my first Android application, and I have some questions that I could not find the answer to.
I would like to use a horizontal scroller to display multiple images. To do this, I need two things:
- Paging is enabled so that the user can see the images one by one in the scroller.
- Some kind of indicator to show me the index of the image currently being displayed.
If I manage to swap, I could display the text, for example, 1/4 (2/4, etc.), if I had 4 photos, but this is not very nice. I would like to have something similar to an iPhone with gray / white dots. Is there something similar, or would I have to implement it by adding content at runtime? (adding images according to the number of images, and then changing images for them when the user scrolls to show the move)
Thank.
source
share