Android Animate an Image View vertically
<p>Hi i have an image view position and the bottom of the page i'm wanting to animate so it moves down does anyone know how to do this? currently when i run it nothing happens</p>

<p>here is what i have tried so far</p>

<p>heres my animation</p>

<pre><code>&lt;set xmlns:android="http://schemas.android.com/apk/res/android" 
    android:interpolator="@android:anim/accelerate_interpolator"&gt;
   &lt;translate android:fromYDelta="0" android:toXDelta="30" android:duration="1000"
       android:fillAfter="true"/&gt;

&lt;/set&gt;
</code></pre>

<p>heres my java</p>

<pre><code>public class IntialSetup extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_initialsetup);
        animations();

    }


    public void animations(){

    final ImageView image = (ImageView)findViewById(R.id.su_shirts);
    Animation AnimationMovepos = AnimationUtils.loadAnimation(this, R.anim.shirt_anim); 
    image.startAnimation(AnimationMovepos); 

    }



}
</code></pre>
