WindowInsets.StableInsetTop 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 top stable inset in pixels.
public int StableInsetTop { [Android.Runtime.Register("getStableInsetTop", "()I", "")] get; }
[<get: Android.Runtime.Register("getStableInsetTop", "()I", "")>]
member this.StableInsetTop : int
Property Value
The top stable inset
- Attributes
Remarks
Returns the top 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.getStableInsetTop()
.
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.