Home  >  Article  >  Backend Development  >  Code display of Android rotation animation xml configuration

Code display of Android rotation animation xml configuration

Y2J
Y2JOriginal
2017-04-26 15:49:302058browse

<?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>

The above is the detailed content of Code display of Android rotation animation xml configuration. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn