问题描述
我想自定义我的评分栏,但我无法实现的一件事是更改手指在屏幕上时显示的颜色,然后释放,使其看起来像这样: image of the rating bar
progresstint 是固定评分时的progresstint,没有评分时的backgrountTint,但是在评分过程中我不知道如何改变显示的颜色。
我的评分栏有这个代码:
<ratingBar
android:id="@id/ratingBar"
android:layout_marginTop="25dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:isIndicator="false"
android:numStars="5"
android:progresstint="@color/grey"
android:secondaryProgresstint="@color/grey"
android:stepSize="1"/>
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)