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
属性

注解

设置与文本光标对应的 Drawable。 Drawable 默认为 textCursorDrawable 属性的值。 请注意,在隐藏游标并重新绘制之前,应用于游标 Drawable 的任何更改将不可见。

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

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

适用于