Once we have our animation set files created and opened up, all we have to do is add the animations we want into the <set> tag. Our scale rotate animation set appears below.



<? xml version = "1.0" encoding = "utf-8" ?>
< set
     xmlns:android = "http://schemas.android.com/apk/res/android" >
 
     < rotate
         android:fromDegrees = "359"
         android:toDegrees = "0"
         android:duration = "3000"
         android:pivotX = "50%"