title: android activity exit animation not work
body: <p>I want to show exit animation when start activity exit.</p>
  
  <p>this is the slide ftom left to right anim file:</p>
  
  <p></p>
  
  <pre><code>&lt;translate
      android:fromXDelta="0%" android:toXDelta="-100%"
      android:duration="500" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>below is where I use it to show exit animation:</p>
  
  <pre><code>Intent intent = new Intent(mContext, ActivityA.class);
  startActivity(intent);
  finish();
  overridePendingTransition(0, R.anim.fade_out_to_left);
  </code></pre>
  
  <p>but exitAnim does not work, my test device is Android 4.4, KitKat.</p>
  
  <p>it was like if I specify whatever enter anim resource and it works fine, but if I specify no enter anim as 0 like the example above, then the exit anim does not work either</p>
  
  <hr>
  
  <p>I found solution here that works for me <a href="https://stackoverflow.com/questions/15090451/android-activity-transition-animation">Android Activity Transition Animation</a>
  set android:zAdjustment="top" will renders exit animation first</p>