Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android: How can I implement first time tutorial like Go Launcher in my app?

Go Launcher have a nice first-time tutorial. it is very similar to Stock ICS first time run. I want to learn how to make the similar tutorial display at the first launch of my app. How can I implement this Transparent view (which interacts with screen objects) in my android app?

First ImageSecond Image

like image 804
moallemi Avatar asked Aug 04 '12 04:08

moallemi


3 Answers

I was trying to do something similar using a transparent activity with a viewpager inside it. I wanted static 'tutorial' images that users could swipe through.

One of the answers to my question mentioned an interesting library (called ShowcaseView). It seems like it may be a good fit for your requirements as well.

https://github.com/Espiandev/ShowcaseView

like image 122
Gautam Avatar answered Oct 14 '22 10:10

Gautam


You can either use a FrameLayout or RelativeLayout as root of your Activity/Fragment, and put your "first time" View upon content with a (almost) transparent background, or use another Activity/Fragment themed with a transluscent window. (like this)

I'd rather use an Activity/Fragment, but this is up to you!

like image 5
Leaudro Avatar answered Oct 14 '22 09:10

Leaudro


I wrote little library That contains a simple component for making ​​a app tour. It`s very restricted to my case but maybe could be your case . Single LessonCardView Showed onstartactivity for the first time or on button click Any criticism ,help or advice will be appreciated. thanks https://github.com/dnocode/DnoLib

like image 3
dnocode Avatar answered Oct 14 '22 11:10

dnocode