rds rds - 2 months ago 23
Android Question

Overlay image to make tutorial in Android app

In many applications, I have seen that there is a welcome screen or tutorial that explains how the application works by overlaying explanations on top of the activity. For instance, in Android itself, the welcome screen with "Make yourself home".

I would like to know what techniques can be used for that.

Edit: screenshot of "make yourself home
enter image description here
enter image description here

Answer

Is it this one? https://github.com/Espiandev/ShowcaseView

The ShowcaseView (SCV) library is designed to highlight and showcase specific parts of apps to the user with a distinctive and attractive overlay. This library is great for pointing out points of interest for users, gestures, or obscure but useful items...

The library is based on the "Cling" view found in the Launcher on Ice-Cream Sandwich and Jelly Bean...

To use ShowcaseView, use the Builder pattern.

As an example:

new ShowcaseView.Builder(this)
    .setTarget(new ActionViewTarget(this, ActionViewTarget.Type.HOME))
    .setContentTitle("ShowcaseView")
    .setContentText("This is highlighting the Home button")
    .hideOnTouchOutside()
    .build();

You can use styles to customise how a ShowcaseView looks.