SlidingMenu
SlidingMenu copied to clipboard
Immersive mode not working properly with SlidingMenu
Hi guys I have a problem with android Immersive mode, the problem is that it works perfect with every activity I have except one that have SlidingMenu setup.
Here is my code that I use.
@Override
protected void onResume() {
super.onResume();
View decorView = getWindow().getDecorView();
decorView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE
| View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
| View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
| View.SYSTEM_UI_FLAG_FULLSCREEN
| View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY);
}
Here is my ScreenShot that Immersive mode works perfect.

And Here is my ScreenShot from activity that has SlidingMenu and rises problem with Immersive mode.(Look for empty black space in up and bottom)

are you found any solution ?