【开源】ShowcaseView

ShowcaseView

  •  https://github.com/amlcurran/ShowcaseView

    介绍:

    一个提示控件,运用overlay和高亮效果让用户的注意力瞬间几种到界面中的某个位置,该库是基于 ICS 和 Jelly Bean上的Launcher应用中的"Cling" view修改而成的。

    运行效果:

 

使用说明:

ShowcaseView的创建是基于Builder的方式

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

posted on 2015-04-09 09:25  wasdchenhao  阅读(146)  评论(0)    收藏  举报

导航