WindowInsets.HasStableInsets 属性

定义

如果此 WindowInsets 具有非零稳定的内集,则返回 true。

public bool HasStableInsets { [Android.Runtime.Register("hasStableInsets", "()Z", "")] get; }
[<get: Android.Runtime.Register("hasStableInsets", "()Z", "")>]
member this.HasStableInsets : bool

属性值

如果任一稳定的内嵌值是非零值,则为 true

属性

注解

如果此 WindowInsets 具有非零稳定的内集,则返回 true。

稳定内集表示全屏窗口的区域,<b>可能<>部分或完全被系统 UI 元素遮盖。 此值不会根据这些元素的可见性状态而更改;例如,如果状态栏通常显示,但暂时隐藏,则稳定内联仍会提供与所显示状态栏关联的内联。

此成员已弃用。 请改用#getInsetsIgnoringVisibility(int)Type#systemBars()

适用于 . 的 android.view.WindowInsets.hasStableInsets()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于