title: Rotation or Page Flip like animation in android, when moving from one activity to another
body: <p>I want a flip like animation when moving from one activity to another. Like this:</p>
  
  <p><a href="http://lab.smashup.it/flip/" rel="nofollow noreferrer">http://lab.smashup.it/flip/</a></p>
  
  <p>I followed this solution posted on SOF:</p>
  
  <p><a href="https://stackoverflow.com/questions/7853997/android-rotate-animation-between-two-activity#answers-header">Android rotate animation between two activity?</a></p>
  
  <pre><code>//Calls a new Activity  
  startActivity(new Intent(this, NewActivity.class));  
  
  //Set the transition -&gt; method available from Android 2.0 and beyond  
  overridePendingTransition(R.anim.rotate_out,R.anim.rotate_in);
  </code></pre>
  
  <p>rotate_out.xml</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;alpha android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="300" /&gt;  
     &lt;rotate android:fromDegrees="0" android:toDegrees="90" android:pivotX="25%" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>rotate_in.xml</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;alpha android:fromAlpha="0.0" android:toAlpha="1.0" android:duration="300" /&gt;  
     &lt;rotate android:fromDegrees="90" android:toDegrees="0" android:pivotX="-25%" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>but the outcome is:</p>
  
  <p>i changed the duration from "300" to "3000" just to check the actual animation clearly. as soon as i click the button to go from ActivityA to ActivityB, screen gets black, then slowly the ActivityA appears and then suddenly ActivityB appears</p>
  
  <p>and i am using Android 2.3.3(API 10)</p>
  
  <p>Can any one help me achieve what i wanted?</p>