Space between elements of the indicator

android, android-viewpager, viewpagerindicator

Solution

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)

- Change this some value, and play with it. I used `5` for my case, it gave me a good result.

Hope it solved your problem.

Problem

How to increase/reduce space between elements of the indicator in `ViewPagerIndicator`?

Original source

Related problems