zhanghai/MaterialRatingBar

Stars not reflecting user input

Open

#28 创建于 2017年11月17日

在 GitHub 查看
 (7 评论) (7 反应) (1 负责人)Java (1,947 star) (206 fork)batch import
bughelp wanted

描述

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.

贡献者指南

Stars not reflecting user input · zhanghai/MaterialRatingBar#28 | Good First Issue