Want to show fading animation while switching between activities without calling finish
<p>Hi I would like to add fading effect to my animation it works fine if I call finish but I don't want to finish my previous activity just want to start a new activity such as switching between list and map but it doesn't show any animation.</p>

<p>Is there any workaround to show animation between activities without finishing that activity.
I am using OverridePendingTransition with fading effect.</p>

<p>Just a small sample code is given.</p>

<pre><code>Intent intent = new Intent(this, MapViewActivity.class);
startActivity(intent);
if (android.os.Build.VERSION.SDK_INT &gt; android.os.Build.VERSION_CODES.DONUT) {
     this.overridePendingTransition(R.anim.fade, R.anim.hold);
}
</code></pre>

<p>I don't want to finish this activity so not calling finish. Please only answer if you know.</p>
