Freigeben über


TextView.SetSearchResultHighlightColor(Color) Method

Definition

Sets the search result highlight color.

[Android.Runtime.Register("setSearchResultHighlightColor", "(I)V", "GetSetSearchResultHighlightColor_IHandler", ApiSince=34)]
public virtual void SetSearchResultHighlightColor (Android.Graphics.Color color);
[<Android.Runtime.Register("setSearchResultHighlightColor", "(I)V", "GetSetSearchResultHighlightColor_IHandler", ApiSince=34)>]
abstract member SetSearchResultHighlightColor : Android.Graphics.Color -> unit
override this.SetSearchResultHighlightColor : Android.Graphics.Color -> unit

Parameters

color
Color

a search result highlight color.

Attributes

Remarks

Sets the search result highlight color.

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