Skip to content
 
 

Repository files navigation

Dependency

Firstly, add Jitpack repository in your root build.gradle file (not your module build.gradle file):

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

Add dependency to your module's build.gradle file:

dependencies {
    compile 'com.github.dimorinny:show-case-card-view:0.0.1'
}

Usage

You can show this view on your activity or fragment using this code:

new ShowCaseView.Builder(MainActivity.this)
    .withTypedPosition(new TopLeft())
    .withTypedRadius(new Radius(186F))
    .withContent(
            "This is hello world!"
    )
    .build()
    .show(this);

Available positions:

  • Position(PointF position)
  • TopLeft()
  • TopRight()
  • BottomLeft()
  • BottomRight()
  • TopLeftToolbar()
  • TopRightToolbar()
  • ViewPosition(View view)

Available radiuses:

  • Radius(float radius)
  • ViewRadius(View view)

For more complication usage - see example.

Demo

Demo

About

Show case card view

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages