------ 效果展示
----- drawable/circle_progressbar.xml
<?xml version="1.0" encoding="utf-8"?>
<rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/loading_circle"
android:fromDegrees="0"
android:pivotX="50%"
android:pivotY="50%"
android:toDegrees="360">
</rotate>
---- 修改样式
<ProgressBar
android:layout_width="60dp"
android:layout_height="wrap_content"
android:indeterminateDrawable="@drawable/circle_progressbar"
android:indeterminateDuration="1000" />
---- drawable-xhdpi/loading_circle.png 用到的图片