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

AndroidAndroid Layout

Android Problem Overview


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 Image Second Image

Android Solutions


Solution 1 - Android

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

Solution 2 - Android

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!

Solution 3 - Android

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

Solution 4 - Android

You can implement a first-time user guide with the Spotlight library by TakuSemba.

It is similar to the one shared above and it is still well-maintained (as of 2021).

https://github.com/TakuSemba/Spotlight

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionmoallemiView Question on Stackoverflow
Solution 1 - AndroidGautamView Answer on Stackoverflow
Solution 2 - AndroidLeaudroView Answer on Stackoverflow
Solution 3 - AndroiddnocodeView Answer on Stackoverflow
Solution 4 - AndroidDmitrii LeonovView Answer on Stackoverflow