Android图片旋转实例
<?xml version="1.0" encoding="utf-8"?>
<animated-rotate xmlns:android="http://schemas.android.com/apk/res/android"
android:drawable="@drawable/image_for_rotation"
android:pivotX="50%"
android:pivotY="50%" />
@drawable/image_for_rotation 就是那张做好的图片
- 给ProgressBar widget设定android:indeterminateDrawable