Udostępnij za pośrednictwem


AbsSeekBar.TickMarkTintList Property

Definition

Returns the tint applied to the tick mark drawable, if specified. -or- Applies a tint to the tick mark drawable.

public virtual Android.Content.Res.ColorStateList? TickMarkTintList { [Android.Runtime.Register("getTickMarkTintList", "()Landroid/content/res/ColorStateList;", "GetGetTickMarkTintListHandler", ApiSince=24)] get; [Android.Runtime.Register("setTickMarkTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetTickMarkTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getTickMarkTintList", "()Landroid/content/res/ColorStateList;", "GetGetTickMarkTintListHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setTickMarkTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetTickMarkTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=24)>]
member this.TickMarkTintList : Android.Content.Res.ColorStateList with get, set

Property Value

the tint applied to the tick mark drawable

Attributes

Remarks

Property getter documentation:

Returns the tint applied to the tick mark drawable, if specified.

Java documentation for android.widget.AbsSeekBar.getTickMarkTintList().

Property setter documentation:

Applies a tint to the tick mark drawable. Does not modify the current tint mode, which is PorterDuff.Mode#SRC_IN by default.

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

Java documentation for android.widget.AbsSeekBar.setTickMarkTintList(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