androidandroid-layoutandroidxratingbar

Inaccurate tint of RatingBar using progressTint


I figured that with android:progressTint="@color/ratingColor" on AppCompatRatingBar, I can change the color of filled stars. But then I noticed green color towards left edge of the filled star. I tried with other tints but can not get rid of that.

This is screen shot of AS Preview but issue remains the same when I run on the device.

Anyone faced this issue? How did you remove that unwanted green color of the edge?

preview of review

Zoomed in: enter image description here


Solution

  • Well. I guess I did not try all the tints when I posted the question.

    I solved this with android:secondaryProgressTint="@color/transparent".