語言

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)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於