Compartir a través de


TextView.SetTextCursorDrawable(Int32) Method

Definition

Sets the Drawable corresponding to the text cursor.

[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

Parameters

textCursorDrawable
Int32
Attributes

Remarks

Sets the Drawable corresponding to the text cursor. The Drawable defaults to the value of the textCursorDrawable attribute. Note that any change applied to the cursor Drawable will not be visible until the cursor is hidden and then drawn again.

Java documentation for android.widget.TextView.setTextCursorDrawable(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to