I am using an activity with a black background. That same activity has a toolbar and a DrawerLayout as well. This white screen makes the look inconsistent.
It can be
This is a little late, but I encountered the same thing myself, and found no answer for it in the internet.
The reason for the gap between the screens is that you call both an exit transition and an enter transition.
The exit transition happens as soon as you call startActivity, and the enter transition happens later, after the onCreate of the new activity.
Therefore, the order of events will be:
For me the solution was to simply remove the exit transition. The outcome looks pretty much the same, and the lack of the exit transition is barely noticeable as a new activity slides over it.
After removing the exit transition, the time when there was a "white screen" is not seen because in that time Activity A is still present.