直接上代码,如有更好的,还请不吝赐教
<span style="font-size:18px;"><?xml version="1.0" encoding="UTF-8"?>
<rotate android:toDegrees="2"
android:repeatMode="reverse"
android:repeatCount="infinite"
android:pivotY="50%"
android:pivotX="50%"
android:fromDegrees="-2"
android:duration="100"
xmlns:android="http://schemas.android.com/apk/res/android"/></span>