updateCompoundDrawables

fun TextView.updateCompoundDrawables(left: Drawable? = compoundDrawables[0], top: Drawable? = compoundDrawables[1], right: Drawable? = compoundDrawables[2], bottom: Drawable? = compoundDrawables[3])

Update the text view's compound drawables.

Receiver

TextView

Parameters

left

the left drawable.

top

the top drawable.

right

the right drawable.

bottom

the bottom drawable.

See also