Android 安卓动画效果轻松
大家好,有人知道如何在动画中添加“轻松效果”吗 这是我到目前为止的动画Android 安卓动画效果轻松,android,animation,Android,Animation,大家好,有人知道如何在动画中添加“轻松效果”吗 这是我到目前为止的动画 <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator" android:fillAfter="true"> <translate android:fromYDelta="100%p" andr
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_interpolator"
android:fillAfter="true">
<translate android:fromYDelta="100%p" android:toYDelta="0" android:duration="1000" />
</set>
您所说的“轻松”是什么意思?如果您指的是快速起步,并在接近终点时变慢,那么您需要的是减速插值器而不是加速插值器