Language

WindowManagerLayoutParams.LayoutInDisplayCutoutMode Property

Definition

Controls how the window is laid out if there is a DisplayCutout . Defaults to LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT . Value is one of the following: LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES LAYOUT_IN_DISPLAY_CUTOUT_MODE_NEVER LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS

[Android.Runtime.GeneratedEnum]
[Android.Runtime.Register("layoutInDisplayCutoutMode", ApiSince=28)]
public Android.Views.LayoutInDisplayCutoutMode LayoutInDisplayCutoutMode { get; set; }
[<Android.Runtime.GeneratedEnum>]
[<Android.Runtime.Register("layoutInDisplayCutoutMode", ApiSince=28)>]
member this.LayoutInDisplayCutoutMode : Android.Views.LayoutInDisplayCutoutMode with get, set

Property Value

The requested layout policy for display-cutout areas; its initial value is Default.

Attributes

Remarks

For details, see the Android reference documentation for android.view.WindowManager.LayoutParams.layoutInDisplayCutoutMode.

Java documentation for android.view.WindowManager.LayoutParams.layoutInDisplayCutoutMode.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to