Sdílet prostřednictvím


TextView.SetHighlightColor(Color) Method

Definition

Sets the color used to display the selection highlight.

[Android.Runtime.Register("setHighlightColor", "(I)V", "GetSetHighlightColor_IHandler")]
public virtual void SetHighlightColor (Android.Graphics.Color color);
[<Android.Runtime.Register("setHighlightColor", "(I)V", "GetSetHighlightColor_IHandler")>]
abstract member SetHighlightColor : Android.Graphics.Color -> unit
override this.SetHighlightColor : Android.Graphics.Color -> unit

Parameters

color
Color
Attributes

Remarks

Sets the color used to display the selection highlight.

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