InputMethodService.InputMethodWindowRecommendedHeight 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
旨在返回以前的输入法, Insets#contentTopInsets
但其实际语义从未定义过。
public virtual int InputMethodWindowRecommendedHeight { [Android.Runtime.Register("getInputMethodWindowRecommendedHeight", "()I", "GetGetInputMethodWindowRecommendedHeightHandler")] get; }
[<get: Android.Runtime.Register("getInputMethodWindowRecommendedHeight", "()I", "GetGetInputMethodWindowRecommendedHeightHandler")>]
member this.InputMethodWindowRecommendedHeight : int
属性值
在 Android android.os.Build.VERSION_CODES#Q
和更高版本的设备上,此方法始终返回 0
- 属性
注解
旨在返回以前的输入法, Insets#contentTopInsets
但其实际语义从未定义过。
请注意,前面的文档明确提到,此方法可以随时返回 0
,无论出于何种原因。 现在,此方法始终返回 0
。
此成员已弃用。 此方法的实际行为从未定义过。 不能以可靠且可预测的方式使用此方法
适用于 . 的 android.inputmethodservice.InputMethodService.getInputMethodWindowRecommendedHeight()
Java 文档
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。