Home >Backend Development >XML/RSS Tutorial >Android translation animation xml configuration code display
<?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!