diff --git a/Android/Activity1.cs b/Android/Activity1.cs index 74a82cb..a23127b 100644 --- a/Android/Activity1.cs +++ b/Android/Activity1.cs @@ -70,7 +70,8 @@ namespace Android { public override void OnWindowFocusChanged(bool hasFocus) { base.OnWindowFocusChanged(hasFocus); // hide the status bar - this.Window.DecorView.SystemUiVisibility = (StatusBarVisibility) (ImmersiveSticky | LayoutStable | LayoutHideNavigation | LayoutFullscreen | HideNavigation | Fullscreen); + if (hasFocus) + this.Window.DecorView.SystemUiVisibility = (StatusBarVisibility) (ImmersiveSticky | LayoutStable | LayoutHideNavigation | LayoutFullscreen | HideNavigation | Fullscreen); } }