androidKani
- Forum posts: 3
Feb 2, 2015, 4:13:08 PM via Website
Feb 2, 2015 4:13:08 PM via Website
I hint my status bar, but every time when i pull the status bar out they don´t want to hint automatically.
Why the status bar don´t hide again automatically?
I use this code in my create method and at the start method:V
iew decorView = getWindow().getDecorView();
// Hide the status bar.
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
// Remember that you should never show the action bar if the
// status bar is hidden, so hide that too if necessary.
ActionBar actionBar = getActionBar();
actionBar.hide();
Recommended editorial content
With your consent, external content is loaded here.
By clicking on the button above, you agree that external content may be displayed to you. Personal data may be transmitted to third-party providers in the process. You can find more information about this in our Privacy Policy.