title: Activity animation slide from bottom
body: <p>What I use:</p>
  
  <p><strong>activity_stay.xml</strong></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:duration="@android:integer/config_longAnimTime"
          android:fromYDelta="0%p"
          android:toYDelta="0%p" /&gt;
  
  &lt;/set&gt;
  </code></pre>
  
  <p><strong>activity_slide_to_bottom.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator"&gt;
  
      &lt;translate
          android:duration="@android:integer/config_longAnimTime"
          android:fromYDelta="0"
          android:toYDelta="100%p" /&gt;
  
  &lt;/set&gt;
  </code></pre>
  
  <p><strong>activity_slide_from_bottom.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_decelerate_interpolator"&gt;
  
      &lt;translate
          android:duration="@android:integer/config_longAnimTime"
          android:fromYDelta="100%p"
          android:toYDelta="0" /&gt;
  
  &lt;/set&gt;
  </code></pre>
  
  <p>Start NewActivity:</p>
  
  <pre><code>startActivity(NewActivity.getIntent(this))
  overridePendingTransition(R.anim.activity_slide_from_bottom, R.anim.activity_stay)
  </code></pre>
  
  <p>NewActivity finish():</p>
  
  <pre><code>finish()
  overridePendingTransition(R.anim.activity_stay, R.anim.activity_slide_to_bottom)
  </code></pre>
  
  <p>When NewActivity is started OldActivity disappear - I see blank white screen above which NewActivity slide to top. However what I need is my NewActivity sliding to top above the OldActivity content when started. How can I achieve this?</p>
  
  <p><strong>UPD</strong>: when I finish my NewActivity for some reasons all animations execute perfectly: NewActivity slide to bottom with OldActivity content appearing below NewActivity content.</p>