Freigeben über


TextView.SetTextSelectHandle(Int32) Method

Definition

Sets the Drawable corresponding to the selection handle used for positioning the cursor within text.

[Android.Runtime.Register("setTextSelectHandle", "(I)V", "GetSetTextSelectHandle_IHandler", ApiSince=29)]
public virtual void SetTextSelectHandle (int textSelectHandle);
[<Android.Runtime.Register("setTextSelectHandle", "(I)V", "GetSetTextSelectHandle_IHandler", ApiSince=29)>]
abstract member SetTextSelectHandle : int -> unit
override this.SetTextSelectHandle : int -> unit

Parameters

textSelectHandle
Int32
Attributes

Remarks

Sets the Drawable corresponding to the selection handle used for positioning the cursor within text. The Drawable defaults to the value of the textSelectHandle attribute. Note that any change applied to the handle Drawable will not be visible until the handle is hidden and then drawn again.

Java documentation for android.widget.TextView.setTextSelectHandle(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