How to pause animation for sometime?
<p>Can somebody please tell me how to apply a pause to animation in android.In the following animation a button moves from the bottom of the screen to the center of the screen.I have done this so far using the below code.However i want the button to wait for some time after it has reached its final position(At the center of the screen).
Following is my code.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;set xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;translate
    android:fromXDelta="400%"
    android:toXDelta="-200%"
    android:repeatCount="infinite"
    android:duration="2000"
    android:fillAfter="true"
    /&gt;
&lt;/set&gt;
</code></pre>

<p>In java:</p>

<pre><code>Animation a = AnimationUtils.loadAnimation(this, R.anim.alpha);
a.reset();
image.clearAnimation();
image.startAnimation(a);
</code></pre>
