SlidingMenu icon indicating copy to clipboard operation
SlidingMenu copied to clipboard

Immersive mode not working properly with SlidingMenu

Open easyfast2008 opened this issue 10 years ago • 1 comments

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. screenshot_2015-02-19-19-20-14

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) t2

easyfast2008 avatar Feb 21 '15 09:02 easyfast2008

are you found any solution ?

iman2420 avatar Nov 03 '17 06:11 iman2420