HInt StatusBar forever

  • Replies:0
  • OpenNot stickiedUnanswered
  • Forum posts: 3

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:View 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();