zhanghai/MaterialRatingBar

Stars not reflecting user input

Open

#28 opened on Nov 17, 2017

View on GitHub
 (7 comments) (7 reactions) (1 assignee)Java (1,947 stars) (206 forks)batch import
bughelp wanted

Description

I think this is a general issue with the RatingBar for Android, but wanted to post here to be sure as I couldn't find a definitive answer.

We have the MaterialRatingBar in our app (love it btw), using width=match_parent.

On some devices, when the user taps 1 star, the 2nd star updates. If they tap the 2nd star, the 3rd updates etc. User can never select 1 star and the star they select is never the correct one.

Samsung devices seem to suffer the worst with this issue. It works fine as well on plenty of devices. If we get rid of match_parent, it seems to work on all devices too.

Contributor guide