Sdílet prostřednictvím


AnalogClock.HourHandTintList Property

Definition

Applies a tint to the hour hand drawable.

public virtual Android.Content.Res.ColorStateList? HourHandTintList { [Android.Runtime.Register("getHourHandTintList", "()Landroid/content/res/ColorStateList;", "GetGetHourHandTintListHandler", ApiSince=31)] get; [Android.Runtime.Register("setHourHandTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetHourHandTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=31)] set; }
[<get: Android.Runtime.Register("getHourHandTintList", "()Landroid/content/res/ColorStateList;", "GetGetHourHandTintListHandler", ApiSince=31)>]
[<set: Android.Runtime.Register("setHourHandTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetHourHandTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=31)>]
member this.HourHandTintList : Android.Content.Res.ColorStateList with get, set

Property Value

the tint applied to the hour hand drawable

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.AnalogClock.getHourHandTintList().

Property setter documentation:

Applies a tint to the hour hand drawable.

Subsequent calls to #setHourHand(Icon) will automatically mutate the drawable and apply the specified tint and tint mode using Drawable#setTintList(ColorStateList).

Java documentation for android.widget.AnalogClock.setHourHandTintList(android.content.res.ColorStateList).

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