I want to hide status bar ( Syste UI ) in my application and i want to show navigation bar always. From android developer docs i got this code to get full screen.
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
it will hide navigation and status bars both.
SYSTEM_UI_FLAG_HIDE_NAVIGATION
, this flag hides the navigation bar. but i want to hide only status bar and show navigation bar always.. please tell me what flags are required to do this.
EDIT : I want to do this in Kindle tab (6 inch tab ).
View.SYSTEM_UI_FLAG_FULLSCREEN
this tag hiding both bars. but i want to hide only status bar.. show navigation bar always.