android - status bar flicker when exiting fullscreen activity -
i noticed pretty irritating flicker happens in following scenario: display fullscreen activity , launch activity not fullscreen.
in app use action bar @ top of second activity , see how flickering done when switching between activities.
when status bar appears, doesn't smoothly push activity down, , annoying flicker.
is there api can use control behaviour? or other workaround?
i had same issue. below workaround fixed it, put code before finishing first activity.
handler handler = new handler(); handler.post(new runnable() { @override public void run() { youractivity.this.getwindow().setflags(windowmanager.layoutparams.flag_force_not_fullscreen, windowmanager.layoutparams.flag_force_not_fullscreen); } });
Comments
Post a Comment