title: Android activity transition from bottom to top and top to bottom black background issue
body: <p>MainActivity with the navigation drawer, tabLayout and viewPager with three fragments. </p>
  
  <p>Click on the fragment button, needs to invoke another activity. It needs the transition from "bottom to top" and when it back to main activity, it needs "top to bottom" transition.</p>
  
  <p>This is the main activity UI. </p>
  
  <p><a href="https://i.stack.imgur.com/8yctF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8yctF.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/LS3dv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LS3dv.png" alt="enter image description here"></a></p>
  
  <p>Above is the transition from bottom to top. I capture the screeshot during transition. I highlight with the red box. This is the issue. I see the black area. </p>
  
  <p>My AppTheme is like that </p>
  
  <pre><code>&lt;style name="AppTheme" parent="Theme.AppCompat.NoActionBar"&gt;
          &lt;!-- Customize your theme here. --&gt;
          &lt;item name="android:colorBackground"&gt;@android:color/white&lt;/item&gt;
          &lt;item name="alertDialogTheme"&gt;@style/AppCompatAlertDialogStyle&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>But I don't want to see the black area in the transition, how to solve it. 
  If needs to change to fragment, then I have another post with fragment, they have another more issues.
  bottom_to_top_enter</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"
      android:shareInterpolator="false"&gt;
      &lt;translate
          android:duration="3000"
          android:fromXDelta="0%"
          android:fromYDelta="100%"
          android:toXDelta="0%"
          android:toYDelta="0%" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>Bottom_to_top_exit</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"  android:shareInterpolator="false"&gt;
      &lt;translate
          android:duration="3000"
          android:fromXDelta="0%"
          android:fromYDelta="0%"
          android:toXDelta="0%"
          android:toYDelta="-100%" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>top_to_bottom_enter</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      android:shareInterpolator="false"&gt;
      &lt;translate
          android:duration="3000"
          android:fromXDelta="0%"
          android:fromYDelta="-100%"
          android:toXDelta="0%"
          android:toYDelta="0%" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>top_to_bottom_exit</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;set xmlns:android="http://schemas.android.com/apk/res/android"
      android:shareInterpolator="false"&gt;
      &lt;translate
          android:duration="3000"
          android:fromXDelta="0%"
          android:fromYDelta="0%"
          android:toXDelta="0%"
          android:toYDelta="100%" /&gt;
  &lt;/set&gt;
  </code></pre>
  
  <p>Thanks a lot.</p>