android-components / mozilla.components.support.utils / DrawableUtils / loadAndTintDrawable

loadAndTintDrawable

fun loadAndTintDrawable(context: Context, @DrawableRes resourceId: Int, color: Int): Drawable (source)

Return a tinted drawable object associated with a particular resource ID.