共用方式為


NumberPicker.SetTextColor(Color) Method

Definition

Sets the text color for all the states (normal, selected, focused) to be the given color.

[Android.Runtime.Register("setTextColor", "(I)V", "GetSetTextColor_IHandler", ApiSince=29)]
public virtual void SetTextColor (Android.Graphics.Color color);
[<Android.Runtime.Register("setTextColor", "(I)V", "GetSetTextColor_IHandler", ApiSince=29)>]
abstract member SetTextColor : Android.Graphics.Color -> unit
override this.SetTextColor : Android.Graphics.Color -> unit

Parameters

color
Color

A color value in the form 0xAARRGGBB.

Attributes

Remarks

Sets the text color for all the states (normal, selected, focused) to be the given color.

Java documentation for android.widget.NumberPicker.setTextColor(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