overflow-pager-indicator icon indicating copy to clipboard operation
overflow-pager-indicator copied to clipboard

Change color of selected indicator

Open intik opened this issue 8 years ago • 3 comments
trafficstars

For more visual clarity change color of selected indicator

intik avatar Oct 09 '17 09:10 intik

please add this feature

dshigh avatar May 02 '18 12:05 dshigh

It would be great if the colors of the borders and circles could be configurable also. Great lib btw.

pamobo0609 avatar May 09 '18 20:05 pamobo0609

I did something that allows a better customization right from the xml declaration, not specifically for the selected indicator but for all.

Right now, I've created the following attributes:

app:dots_fill_color="#ff0000"
app:dots_stroke_color="#000000"
app:dots_max_count="7"
app:dots_size="5dp"
app:dots_stroke_width="2dp"
app:dots_margin="2dp"

Not sure if ready to merge, I haven't tested edge cases and maybe further tuning is required: https://github.com/theangi/overflow-pager-indicator/commit/47b53bd082252b0c79cf221ecc1cdf5020739205

theangi avatar Sep 15 '18 12:09 theangi