WindowInsets.TappableElementInsets 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此方法在 API 级别 30 中已弃用。 请改用 Type.tappableElement() 的 getInsets(int)。
public Android.Graphics.Insets TappableElementInsets { [Android.Runtime.Register("getTappableElementInsets", "()Landroid/graphics/Insets;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getTappableElementInsets", "()Landroid/graphics/Insets;", "", ApiSince=29)>]
member this.TappableElementInsets : Android.Graphics.Insets
属性值
为 tappable 元素类型存储的内集。
- 特性
注解
返回可应用元素内集。
tappable 元素内集表示至少必须<插入多少可应用元素 >b<> 才能保持持久系统窗口的可应用和视觉上不受干扰。
这可能比 #getSystemWindowInsets() 系统窗口基本上是透明的,并允许通过简单的点击(但不一定更复杂的手势)更小。
请注意,通常,可应用强<元素>应</强>与#getSystemWindowInsets() system window insets相反对齐,以避免与系统栏重叠。
当请求时 View#SYSTEM_UI_FLAG_LAYOUT_STABLE ,即使内嵌覆盖的区域也会因为 View#SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN 或的原因 View#SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION而返回一个内嵌。
此内集与 #getSystemWindowInsets() system window insets by #consumeSystemWindowInsets()一起使用。
此成员已弃用。 请改用#getInsets(int)和Type#tappableElement()。
Java文档android.view.WindowInsets.getTappableElementInsets()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。