[英]RatingBar long press(android)
Sorry for my English. 对不起我的英语不好。 I use RatingBar but when it is pinched, it stands out. 我使用RatingBar,但是当它被挤压时,它会脱颖而出。 How do I remove it? 如何删除它? Example image: 示例图片:
my xml 我的xml
<RatingBar
android:id="@+id/startBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:stepSize="1"
android:layout_marginTop="30dp" />
You can use the setRating(float rating) user to set the rating (the number of stars filled)
您可以使用setRating(float rating)用户来set the rating (the number of stars filled)
See RatingBar Class Documentation here . 请参阅此处的RatingBar类文档 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.