【发布时间】:2016-11-19 04:59:57
【问题描述】:
我想逆时针旋转圆形进度条。
<?xml version="1.0" encoding="utf-8"?>
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:fromDegrees="270"
android:toDegrees="270">
<shape
android:innerRadiusRatio="2.5"
android:shape="ring"
android:thickness="3dp"
android:useLevel="true">
<gradient
android:angle="0"
android:endColor="@color/rotateBar"
android:startColor="@color/rotateBar"
android:type="sweep"
android:useLevel="false" />
</shape>
</rotate>
通过这种方式,我可以顺时针移动,但我想向相反方向旋转进度条。有什么解决方案吗?
【问题讨论】:
标签: android-studio progress-bar