Android "first time" app user tutorial

Posted by EGHDK on Stack Overflow See other posts from Stack Overflow or by EGHDK
Published on 2012-07-01T02:30:36Z Indexed on 2012/07/01 3:16 UTC
Read the original article Hit count: 283

I'm trying to create an opening tutorial that consists of four panes for my application, but since I'm new to Android, I want to make sure I'm considering all of my options before marking this task as "complete". I know of three ways, I can only really accomplish one. There are no requirements for this tutorial, but some "wanted features" would be a sliding action to each pane would be nice as well as the image and the bottom (navigation circles) not moving and the title on top not moving.

One Way

4 separate activities and 4 separate layouts

First attempt

The red circled items are textViews that are centered horizontally and pushed off the top.

The white circled items are imageViews that are centered horizontally and vertically.

The purple circled are imageViews that are centered horizontally and pushed off the bottom.

Second Way

4 fragments on one activity

Fragments were difficult to learn, but the more I read about them/see tutorials on them, they seem to only really be used for tablets. Would it be a valid way to accomplish this?

Third Way

ViewPager?

http://android-developers.blogspot.com/2011/08/horizontal-view-swiping-with-viewpager.html

I've never used this before, but I know it's an option.

Final Question

Which way is used more often/what's the proper way to implement this? Is there any way to only have the middle part (the image) slide in, but the title (top) and the navigation images (bottom) just change once the image slides in?

© Stack Overflow or respective owner

Related posts about android

Related posts about android-fragments