Skip to content

corerzhang/ShowCaseView

Repository files navigation

ShowCaseView

一个新手指引的View

demo

使用

         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)

About

一个新手指引的View

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages