Blinking screen on image transition between activities

On the exiting activity, call
getWindow().setExitTransition(null);

On the entering activity, call
getWindow().setEnterTransition(null);

It will prevent the fade out of the exiting activity and the fade in of the entering activity, which removes the apparent blinking effect.

Leave a Comment