I am trying to create a four-panel opening tutorial for my application, but since I am new to Android, I want to make sure that I consider all my options before marking this task as “finished”. I know three ways, I can only do this. There are no requirements for this tutorial, but some of the “desired features” would be a sliding action for each panel, it would be nice, and the image and the bottom (navigation circles) would not move, and the title on the top would not move.
One way
4 separate actions and 4 separate layouts
Elements with a red circle of textViews
that center horizontally and are discarded from above.
Elements with a white circle imageViews
that are located horizontally and vertically.
Purple, surrounded by a circle, imageViews
that are horizontally centered and pushed down.
Second way
4 fragments per activity
The fragments were difficult to learn, but the more I read about them / looked at the textbooks on them, they apparently were really used only for tablets. Would this be the right way to do this?
Third way
ViewPager?
http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html
I have never used this before, but I know this is an option.
Final question
How is it used more often / what is the right way to implement this? Is there a way to include only the middle part (image), but the title (top) and navigation images (bottom) just change after the image slides in?
source share