Skip to content

Instantly share code, notes, and snippets.

@gnuton
Created June 16, 2013 07:10
Show Gist options
  • Save gnuton/5791223 to your computer and use it in GitHub Desktop.
Save gnuton/5791223 to your computer and use it in GitHub Desktop.
Android Infinite rotation animation
<?xml version="1.0" encoding="UTF-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<rotate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromDegrees="0"
android:toDegrees="360"
android:pivotX="50%"
android:pivotY="50%"
android:duration="2000"
android:repeatMode="reverse"
android:repeatCount="infinite"
android:startOffset="0"
/>
</set>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment