Overlay image to make tutorial in Android app

无人久伴 提交于 2019-11-27 17:20:57
user1437481

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.

There are now 3 alternatives for displaying some tutorial of an activity :

The first one being the best of the 3.

From your screen shots that looks like an Activity set to use...

@android:style/Theme.Translucent

Sounds like a popup window or a dialog. Both should have a similar effect.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!