set setInAnimation and setOutAnimation while starting activity
<p>I have the following situation </p>

<pre><code>TabActivity&gt;group activiyt&gt;(A-&gt;B-&gt;C)
</code></pre>

<p>Here A,B and C are activities. And me loading like this</p>

<pre><code> setContentView(this,getLocalActivityManager().startActivity("zero",intent.addFlags(Intent.FLG_ACTIVITY_CLEAR_TOP)) .getDecorView());
</code></pre>

<p><strong>What i need is to set animation (Slide from left/Right) when i change one activity to another?</strong><br>
Currently me used the following animation, after <code>setContentView</code> to new view   </p>

<pre><code>public static Animation inFromRightAnimation() {

        Animation inFromRight = new TranslateAnimation(Animation.RELATIVE_TO_PARENT, +1.0f, Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.0f, Animation.RELATIVE_TO_PARENT, 0.0f);
        inFromRight.setDuration(ANIMATIION_DURATION);
        inFromRight.setInterpolator(new AccelerateInterpolator());
        return inFromRight;
    }  
</code></pre>

<p>but it only do animation to new view.<br>
I need like current move left at the same time new move from right<br>
<strong>Is there any way to set <code>setInAnimation</code> and <code>setOutAnimation</code> in startActivity like view flipper?</strong><br>
Thank you </p>
