Udostępnij za pośrednictwem


WindowInsets.StableInsetLeft Property

Definition

Returns the left stable inset in pixels.

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

Property Value

The left stable inset

Attributes

Remarks

Returns the left stable inset in pixels.

The stable inset represents the area of a full-screen window that <b>may</b> be partially or fully obscured by the system UI elements. This value does not change based on the visibility state of those elements; for example, if the status bar is normally shown, but temporarily hidden, the stable inset will still provide the inset associated with the status bar being shown.

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

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

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