Condividi tramite


TextView.CompoundDrawableTintList Property

Definition

Applies a tint to the compound drawables.

public virtual Android.Content.Res.ColorStateList? CompoundDrawableTintList { [Android.Runtime.Register("getCompoundDrawableTintList", "()Landroid/content/res/ColorStateList;", "GetGetCompoundDrawableTintListHandler", ApiSince=23)] get; [Android.Runtime.Register("setCompoundDrawableTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetCompoundDrawableTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=23)] set; }
[<get: Android.Runtime.Register("getCompoundDrawableTintList", "()Landroid/content/res/ColorStateList;", "GetGetCompoundDrawableTintListHandler", ApiSince=23)>]
[<set: Android.Runtime.Register("setCompoundDrawableTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetCompoundDrawableTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=23)>]
member this.CompoundDrawableTintList : Android.Content.Res.ColorStateList with get, set

Property Value

the tint applied to the compound drawables

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.TextView.getCompoundDrawableTintList().

Property setter documentation:

Applies a tint to the compound drawables. Does not modify the current tint mode, which is BlendMode#SRC_IN by default.

Subsequent calls to #setCompoundDrawables(Drawable, Drawable, Drawable, Drawable) and related methods will automatically mutate the drawables and apply the specified tint and tint mode using Drawable#setTintList(ColorStateList).

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