SkillAgentSearch skills...

ShowCaseView

一个新手指引的View

Install / Use

/learn @corerzhang/ShowCaseView
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

ShowCaseView

一个新手指引的View

demo

<table sytle="border: 0px;"> <tr> <td><img width="200px" src="https://github.com/corerzhang/ShowCaseView/raw/master/screenshot/showcase.gif" /></td> </tr> </table>

使用

         View guideView = LayoutInflater.from(this).inflate(R.layout.showcase_content_one, null, false);
         View target = findViewById(R.id.target_one);
         ShowCaseView showCaseView = new ShowCaseView.Builder(MainActivity.this)
                        .setLayoutController(new LayoutController(guideView))
                        .setShape(new CircleShape(this))
                        .build(target);
        
        showCaseView.show(this);
        showCaseView.hide();
        

支持拓展

拓展绘制高亮区域的样式

setShape(IShape shape)

拓展布局控制

setLayoutController(ILayoutController layoutController)

拓展显示和隐藏的动画

setAnimationController(IAnimationController animationController)

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated6y ago
Forks2

Languages

Java

Security Score

55/100

Audited on Sep 18, 2019

No findings