FlyingPumba / SimpleRatingBar

Open source project which features a simple yet powerful RatingBar alternative to Android's default
Apache License 2.0
1.03k stars 142 forks source link

border color for pressed and not pressed stars #24

Closed ashokbg closed 7 years ago

ashokbg commented 7 years ago

Is it possible to set app:srb_borderColor for pressed and not pressed stars? if possible how can i do it

FlyingPumba commented 7 years ago

Hi. All documentation is in the README:

Set stars border color in normal state with app:srb_borderColor / setBorderColor(@ColorInt int) Set stars border color in pressed state with app:srb_pressedBorderColor / setPressedBorderColor(@ColorInt int)

FlyingPumba commented 7 years ago

Unless you mean to change the border color for filled or not filled stars. In that case you would have to listen to rating changes and modify the border of the stars accordingly.