Moving an image through a linearlayout
I'm developing an Android 2.2 application. I want to move an image from left side of the screen to the right side of the screen. How can I do that? I've read that I have to add this image to a ListView or to a GridView to setup this animation. UPDATE I've created the following files: anim/translate_right <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator"> <translate android:fromXDelta="-100%p" android:toXDelta="0" android:duration="5000" /> </set> anim/ship_layout