title: How do I maintain the Immersive Mode in Spinner?
body: <p>I use immersive-sticky mode to hide the navigation bar and action bar:</p>
  
  <pre><code>@TargetApi(19)
  private void setImmersiveMode() {
      if (Build.VERSION.SDK_INT &gt;= 19) {
          View decorView = getWindow().getDecorView();
          int uiOptions = getImmersiveUiOptions(decorView);
          decorView.setSystemUiVisibility(uiOptions);
          ActionBar actionBar = getActionBar();
          if (null!=actionBar) {
              actionBar.hide();
          }
      }
  }
  </code></pre>
  
  <p>When a <code>Spinner</code> is touched, the <code>navigationBar</code> is shown and immersive mode is disabled.</p>
  
  <p><a href="https://stackoverflow.com/a/23207365">This solution</a> works for Dialogs: </p>
  
  <pre><code>dialog.getWindow().setFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE, WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE);
  dialog.show();
  dialog.getWindow().getDecorView().setSystemUiVisibility(
  context.getWindow().getDecorView().getSystemUiVisibility());
  dialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE);
  </code></pre>
  
  <p>But <code>Spinner</code> doesn't have <code>show()</code> method that I could overwrite.</p>
  
  <p>How can I prevent System UI from showing when a Spinner is touched?</p>
  
  <p><strong>Edit</strong>: this question is about keeping the Navigation Bar hidden (BackButton, HomeButton and RecentTasksButton). I'm already using <code>FLAG_FULLSCREEN</code></p>
  
  <pre><code>getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);   
  </code></pre>