0
点赞
收藏
分享

微信扫一扫

动画的操作


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%"
        

举报

相关推荐

0 条评论