title: Make Xamarin Forms for Android Fullscreen
body: <p>Is there anyway to get my Xamarin Forms application on Android go fullscreen or immersive mode?</p>
  
  <p>I tried the following, and all the controls on the status bar are hidden but the status bar itself is still showing. Any help, please</p>
  
  <pre><code>var newUiOptions = (int)SystemUiFlags.LayoutStable;
  
  newUiOptions |= (int)SystemUiFlags.LayoutHideNavigation;
  newUiOptions |= (int)SystemUiFlags.LayoutFullscreen;
  newUiOptions |= (int)SystemUiFlags.HideNavigation;
  newUiOptions |= (int)SystemUiFlags.Fullscreen;
  newUiOptions |= (int)SystemUiFlags.Immersive;
  //newUiOptions |= (int)SystemUiFlags.ImmersiveSticky;
  
  decorView.SystemUiVisibility = (StatusBarVisibility)newUiOptions;
  </code></pre>
  
  <p>The navigation bar is hidden but not the status bar.</p>