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.

貢獻者指南