TextView.ShowSoftInputOnFocus 属性

定义

返回当此 TextView 获得焦点时,软输入方法是否可见。 - 或 - 设置当此 TextView 获得焦点时,是否使软输入法可见。

public bool ShowSoftInputOnFocus { [Android.Runtime.Register("getShowSoftInputOnFocus", "()Z", "")] get; [Android.Runtime.Register("setShowSoftInputOnFocus", "(Z)V", "")] set; }
[<get: Android.Runtime.Register("getShowSoftInputOnFocus", "()Z", "")>]
[<set: Android.Runtime.Register("setShowSoftInputOnFocus", "(Z)V", "")>]
member this.ShowSoftInputOnFocus : bool with get, set

属性值

属性

注解

属性 getter 文档:

返回当此 TextView 获得焦点时,软输入方法是否可见。 默认值为 true。

android.widget.TextView.getShowSoftInputOnFocus()Java 文档。

属性资源库文档:

设置当此 TextView 获得焦点时,软输入法是否可见。 默认值为 true。

android.widget.TextView.setShowSoftInputOnFocus(boolean)Java 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

适用于