Exemplo n.º 1
0
  @Override
  public void setupDisplay() {
    uiFlags = View.SYSTEM_UI_FLAG_LOW_PROFILE;

    if (!onScreenInput) {
      uiFlags |= View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;

      if (uiFullscreen) {
        uiFlags |= View.SYSTEM_UI_FLAG_FULLSCREEN | View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
      }
    } else {
      super.setActionBarState();
    }

    super.setupDisplay();
  }
Exemplo n.º 2
0
  @Override
  public void setupDisplay() {
    super.setupDisplay();

    super.setActionBarState();
  }