How to increase/reduce space between elements of the indicator in ViewPagerIndicator
?
I have used CirclePageIndicator
. I was able to make more space between two indicator by the step:
Open the source code of CirclePageIndicator
and find the variable mRadius
At the line number around 235, you will find a line like below:
final float threeRadius = mRadius * (some value here)
5
for my case, it gave me a good result.Hope it solved your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With