Drawable.SetTintList(ColorStateList) Drawable.SetTintList(ColorStateList) Method

Definition

Specifies tint color for this drawable as a color state list.

[Android.Runtime.Register("setTintList", "(Landroid/content/res/ColorStateList;)V", "GetSetTintList_Landroid_content_res_ColorStateList_Handler", ApiSince=21)]
public virtual void SetTintList (Android.Content.Res.ColorStateList tint);
abstract member SetTintList : Android.Content.Res.ColorStateList -> unit
override this.SetTintList : Android.Content.Res.ColorStateList -> unit

Parameters

tint
ColorStateList ColorStateList

Color state list to use for tinting this drawable, or null to clear the tint

Remarks

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

See also