//星级评价 ratingBar.setRating(Float.parseFloat(3)); ratingBar.setIsIndicator(true); 更多好内容戳下面: https://blog.csdn.net/wuqingsen1