2
我有一个ScrollView
其中我有布局作为它的child.What我加载ScrollView
内的每个布局使用android:layoutAnimation="@anim/layout"
一个接一个,其中布局是anim
文件。 这里是动画文件ScrollView Animation
<layoutAnimation xmlns:android="http://schemas.android.com/apk/res/android"
android:delay="200%"
android:animation="@anim/slide_in_up" />
和slide_in_up
这里是文件::
<translate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromYDelta="100%p"
android:toYDelta="0"
android:duration="@android:integer/config_longAnimTime" />
现在的问题是,我想在滚动情况适用相同的。 作为用户滚动所有的布局应该来一个接一个。我遇到了Scroller
类,但我没有它的例子。是否有无论如何实现它?