deano2390 / MaterialShowcaseView

A Material Design themed ShowcaseView for Android
Apache License 2.0
2.71k stars 526 forks source link

reduce circle radius #63

Open Dvik opened 8 years ago

Dvik commented 8 years ago

I'm focusing on a listview. However, i would like to reduce the radius of the circle. how should i go about achieving that?

corey-underdown commented 8 years ago

They way I found to go about this is by setting the shape padding to a negative number.

Example: new MaterialShowcaseView.Builder(this) .setTarget(TARGET) .setDismissText("Ok") .setContentText("Content") .setShapePadding(-100) //note this is in pixels so you might want to convert to dp .show();