Rectangle 27 0

Android tablet navigation bar won't hide?


SYSTEM_UI_FLAG_HIDE_NAVIGATION on Android 4.1 and higher will hide the system bar, but it will reappear as soon as the user does anything.

Yes its doing the same as u said. But I want to finish the activity on userInteraction method . But its not functioning properly its finishing my activity after two clicks on the activity

You cannot permanently hide the system bar on a tablet.

Note
Rectangle 27 0

Android tablet navigation bar won't hide?


In HideBar there is an option to run in 'Kiosk' mode, in which there is no way to re-display the navigation bar. Needless to say, you really need to be careful with this.

You can not hide the navigation bar within the given framework. However, there is a work around if rooting the device is an option for you:

Note
Rectangle 27 0

Android tablet navigation bar won't hide?


public void FullScreencall() {
    if(Build.VERSION.SDK_INT < 19) //19 or above api
        View v = this.getWindow().getDecorView();
        v.setSystemUiVisibility(View.GONE);
    } else {
            //for lower api versions.
        View decorView = getWindow().getDecorView(); 
        int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
        decorView.setSystemUiVisibility(uiOptions);
    }
}

you can hide the navigationbar,try this

Note
Rectangle 27 0

Android tablet navigation bar won't hide?


SYSTEM_UI_FLAG_HIDE_NAVIGATION on Android 4.1 and higher will hide the system bar, but it will reappear as soon as the user does anything.

Yes its doing the same as u said. But I want to finish the activity on userInteraction method . But its not functioning properly its finishing my activity after two clicks on the activity

You cannot permanently hide the system bar on a tablet.

Note
Rectangle 27 0

Android tablet navigation bar won't hide?


In HideBar there is an option to run in 'Kiosk' mode, in which there is no way to re-display the navigation bar. Needless to say, you really need to be careful with this.

You can not hide the navigation bar within the given framework. However, there is a work around if rooting the device is an option for you:

Note
Rectangle 27 0

Android tablet navigation bar won't hide?


if(Build.VERSION.SDK_INT > 19) //19 or above api
public void FullScreencall() {
    if(Build.VERSION.SDK_INT < 19) //19 or above api
        View v = this.getWindow().getDecorView();
        v.setSystemUiVisibility(View.GONE);
    } else {
            //for lower api versions.
        View decorView = getWindow().getDecorView(); 
        int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
        decorView.setSystemUiVisibility(uiOptions);
    }
}

you can hide the navigationbar,try this

Note