WindowInsets.StableInsets Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the stable insets in pixels.
public Android.Graphics.Insets StableInsets { [Android.Runtime.Register("getStableInsets", "()Landroid/graphics/Insets;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getStableInsets", "()Landroid/graphics/Insets;", "", ApiSince=29)>]
member this.StableInsets : Android.Graphics.Insets
Property Value
The stable insets
- Attributes
Remarks
Returns the stable insets 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.getStableInsets()
.
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.