Home  >  Article  >  Backend Development  >  Android translation animation xml configuration code display

Android translation animation xml configuration code display

Y2J
Y2JOriginal
2017-04-26 15:48:122243browse

<?xml version="1.0" encoding="utf-8"?>
 <set xmlns:android="http://schemas.android.com/apk/res/android"
     android:interpolator="@android:anim/accelerate_interpolator">
     <!-- 移动位置,持续时间为5秒 -->
     <translate
         android:fromXDelta="50%"
         android:toXDelta="50%"
         android:fromYDelta="0%"
         android:toYDelta="100%"
         android:duration="5000"
     />
 </set>

The above is the detailed content of Android translation animation xml configuration code display. 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