Share via


WindowInsets.StableInsetRight Property

Definition

Returns the right stable inset in pixels.

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

Property Value

The right stable inset

Attributes

Remarks

Returns the right 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.getStableInsetRight().

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