今天在开发android软件的时候,遇到这个问题。暂且记下来。 在xml中 <item name="android:isIndicator">true</item> 这句是控制Ratingbar不可点击的。如果写成false就能点击了