title: Problem with LayoutInDisplayCutoutMode in Xamarin
body: <p>I have a weird issue with setting an attribute for cutout mode in Xamarin.Android. I want to add support in my app for cutout mode, hence I updated the project to use SDK 9.0 and I added this single line to my Activity:</p>
  
  <pre><code>Window.Attributes.LayoutInDisplayCutoutMode = LayoutInDisplayCutoutMode.ShortEdges;
  </code></pre>
  
  <p>My project compiles but when it runs I get this exception on the line above:</p>
  
  <pre><code>Java.Lang.NoSuchFieldError: no "I" field "layoutInDisplayCutoutMode" in class "Landroid/view/WindowManager$LayoutParams;" or its superclasses
  </code></pre>
  
  <p>My project settings are:</p>
  
  <pre><code>Compile using Android version: Android 9.0 (Pie)
  
  Minimum Android version: Android 4.3 (API Level 18)
  
  Target Android version: Android 9.0 (API Level 28)
  </code></pre>
  
  <p>All nuget libraries newest.</p>