don't render the game under notches
This commit is contained in:
parent
7bc53d2a24
commit
58bb137a43
1 changed files with 0 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue