tommybuonomo / dotsindicator

Three material Dots Indicators for view pagers in Android !
Apache License 2.0
3.41k stars 350 forks source link

Programmatically set dots spacing #154

Open mdrlzy opened 1 year ago

mdrlzy commented 1 year ago

I want to use dots indicators along with TabLayout. So the dots should be placed below the tabs. It can't be done right now, but with setDotsSpacing it will be possible to at least calculate the spacing based on the screen width

It would also be cool to make dots indicators work more properly with match_parent to make the view itself calculate the spacing based on the given width.