I want the items in the listview to slide in one at a time from left to right. I have the following in res/anim/slide_right.xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator">
<translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="150" />
</set>
And in my onCreate method in my ListActivity I have:
LayoutAnimationController controller = AnimationUtils.loadLayoutAnimation(this, R.anim.slide_right);
mList.setLayoutAnimation(controller);
When I run it, I get a RuntimeException caused by "Unknown layout animation name: set"
What am I doing wrong?