zhanghai/MaterialRatingBar

Stars not reflecting user input

开放

#28 创建于 2017年11月17日

 (7 条评论) (7 个反应) (1 位负责人)Java (206 个派生)batch import
bughelp wanted

仓库指标

星标
 (1,947 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南