这就是我现在所做的我想在特定的屏幕位置停止这个动画,我知道在动画过程中它不能停止,所以请提供另一种方法来在我的应用程序中实现这个功能。
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/linear_interpolator">
<translate
android:toYDelta="100%p"
android:duration="6000"
android:fillEnabled="false"
android:startOffset="5000"
android:fillAfter="false"/>
</set>