Overlay image to make tutorial in Android app

后端 未结 4 956
南方客
南方客 2020-12-04 10:12

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 i

相关标签:
4条回答
  • 2020-12-04 10:45

    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.

    0 讨论(0)
  • 2020-12-04 10:45

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

    0 讨论(0)
  • 2020-12-04 10:50

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

    • amlcurran / ShowcaseView
    • EspianDev / ShowcaseView
    • stephanenicolas / RoboDemo

    The first one being the best of the 3.

    0 讨论(0)
  • 2020-12-04 11:04

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

    @android:style/Theme.Translucent
    
    0 讨论(0)
提交回复
热议问题