Udostępnij za pośrednictwem


DisplayCutout.SafeInsetTop Property

Definition

Returns the inset from the top which avoids the display cutout in pixels.

public int SafeInsetTop { [Android.Runtime.Register("getSafeInsetTop", "()I", "", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getSafeInsetTop", "()I", "", ApiSince=28)>]
member this.SafeInsetTop : int

Property Value

Attributes

Remarks

Returns the inset from the top which avoids the display cutout in pixels.

Java documentation for android.view.DisplayCutout.getSafeInsetTop().

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