<?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator"> <!-- 扭转,依据本身的中间位置扭转,持续时间为5秒 --> <rotate android:fromDegrees="0" android:toDegrees="+350" android:pivotX="50%" android:pivotY="50%" android:duration="5000" /> </set>
以上就是Android扭转动画xml设置的代码展现的细致内容,更多请关注ki4网别的相干文章!