From 58bb137a4315655367d01f67a32f642c0c0439dd Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sun, 28 Jun 2020 18:38:36 +0200 Subject: [PATCH] don't render the game under notches --- Android/Activity1.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Android/Activity1.cs b/Android/Activity1.cs index 6c1ebde..74a82cb 100644 --- a/Android/Activity1.cs +++ b/Android/Activity1.cs @@ -54,10 +54,6 @@ namespace Android { this.game.GraphicsDeviceManager.ApplyChanges(); }; - // render under notches - if (Build.VERSION.SdkInt >= BuildVersionCodes.P) - this.Window.Attributes.LayoutInDisplayCutoutMode = LayoutInDisplayCutoutMode.ShortEdges; - // total layout that is displayed this.mainView = new LinearLayout(this) {Orientation = Orientation.Vertical}; this.mainView.LayoutParameters = new LinearLayout.LayoutParams(MatchParent, MatchParent);