0

I am entering a new activity from top to bottom, while keeping the old still. Everything works fine, except that there is a black area at the bottom of the new entering activity, which does not look very nice (see the picture). The theme I am using is "Theme.AppCompat.Light.NoActionBar"

enter image description here

I suppose it is the space assigned to cope with the bottom navigation bar. Is it possible to avoid this?

xagutxu
  • 81
  • 6

1 Answers1

0

Set a translucent theme for your activity , android:theme="@android:style/Theme.Translucent" OR Add an exit animation too.

Febi M Felix
  • 2,799
  • 1
  • 10
  • 13