updateCompoundDrawablesWithIntrinsicBounds

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

Update the text view's compound drawables with intrinsic bounds.

Receiver

TextView

Parameters

left

the left drawable.

top

the top drawable.

right

the right drawable.

bottom

the bottom drawable.

See also