setTintList

open fun setTintList(@NonNull drawable: Drawable, @Nullable tint: ColorStateList)(source)

Specifies a tint for drawable as a color state list.

Parameters

drawable

The Drawable against which to invoke the method.

tint

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