Abhilash L R
Abhilash L R

Reputation: 803

How do you change a showcaseview circle radius?

I use the master code from git repo of the showcaseview library.

Since am new to setting up this library, I am not sure how one can reduce the size of the circle indicator.

Some legacy code contained config options where you can set the radius, but i couldn't find a source which has customising the same in the master repo.

Upvotes: 3

Views: 2482

Answers (2)

MaxChinni
MaxChinni

Reputation: 1216

I think you can globally change the radius creating these 3 entries in the app/src/main/res/values/dimens.xml file

<dimen name="showcase_radius">94dp</dimen>
<dimen name="showcase_radius_inner">96dp</dimen>
<dimen name="showcase_radius_outer">128dp</dimen>

<dimen name="showcase_radius_material">94dp</dimen>

I'm showing the default values.

Upvotes: 9

Alex Curran
Alex Curran

Reputation: 8828

You're right. The old version of ShowcaseView has this ability but the new version - which is in Maven - does not. I hope to add it back soon. Sorry!

Upvotes: 4

Related Questions