-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stars not reflecting user input #28
Comments
Yes it might be that Samsung modified the framework RatingBar implementation and violated some contract. Since I don't have any Samsung device at hand, so I'd suggest that you try debugging the |
Thank you for getting back to me so quickly, I will take a look at this next week. Have a great weekend |
This bug seems to be a result of RatingBar extending ProgressBar. It can be fixed by setting your
For more details, please follow the link below: https://stackoverflow.com/a/35531397 |
@sam9046 I wonder if you had fixed this bug? |
I confirm that sistematin's workaround does work. |
@leoacevedo Is it specific to |
It's only reproduced on API level 24 (Android 7.0), I've checked on several devices with that version. |
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.
The text was updated successfully, but these errors were encountered: