语言

TextView.SetTextCursorDrawable(Int32) 方法

定义

设置与文本光标对应的 Drawable。

[Android.Runtime.Register("setTextCursorDrawable", "(I)V", "GetSetTextCursorDrawable_IHandler", ApiSince=29)]
public virtual void SetTextCursorDrawable(int textCursorDrawable);
[<Android.Runtime.Register("setTextCursorDrawable", "(I)V", "GetSetTextCursorDrawable_IHandler", ApiSince=29)>]
abstract member SetTextCursorDrawable : int -> unit
override this.SetTextCursorDrawable : int -> unit

参数

textCursorDrawable
Int32

int

特性

注解

设置与文本光标对应的 Drawable。 Drawable 默认为 textCursorDrawable 属性的值。 请注意,在光标处于隐藏状态,然后再次绘制之前,将不可见应用于游标的绘图对象的任何更改。

Java文档android.widget.TextView.setTextCursorDrawable(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于