Compartir a través de


TextView.TextCursorDrawable Property

Definition

Returns the Drawable corresponding to the text cursor. -or- Sets the Drawable corresponding to the text cursor.

public virtual Android.Graphics.Drawables.Drawable? TextCursorDrawable { [Android.Runtime.Register("getTextCursorDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetTextCursorDrawableHandler", ApiSince=29)] get; [Android.Runtime.Register("setTextCursorDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetTextCursorDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=29)] set; }
[<get: Android.Runtime.Register("getTextCursorDrawable", "()Landroid/graphics/drawable/Drawable;", "GetGetTextCursorDrawableHandler", ApiSince=29)>]
[<set: Android.Runtime.Register("setTextCursorDrawable", "(Landroid/graphics/drawable/Drawable;)V", "GetSetTextCursorDrawable_Landroid_graphics_drawable_Drawable_Handler", ApiSince=29)>]
member this.TextCursorDrawable : Android.Graphics.Drawables.Drawable with get, set

Property Value

the text cursor drawable

Attributes

Remarks

Property getter documentation:

Returns the Drawable corresponding to the text cursor. 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.getTextCursorDrawable().

Property setter documentation:

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(android.graphics.drawable.Drawable).

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