How do you change a showcaseview circle radius?
-
02-01-2020 - |
Question
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.
Solution
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.
OTHER TIPS
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!
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow