WindowInsets.SystemWindowInsetTop Property

Definition

Returns the top system window inset in pixels.

public int SystemWindowInsetTop { [Android.Runtime.Register("getSystemWindowInsetTop", "()I", "")] get; }
[<get: Android.Runtime.Register("getSystemWindowInsetTop", "()I", "")>]
member this.SystemWindowInsetTop : int

Property Value

The top system window inset

Attributes

Remarks

Returns the top system window inset in pixels.

The system window inset represents the area of a full-screen window that is partially or fully obscured by the status bar, navigation bar, IME or other system windows.

This member is deprecated. Use #getInsets(int) with Type#systemBars() instead.

Java documentation for android.view.WindowInsets.getSystemWindowInsetTop().

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