setCompoundDrawables

fun setCompoundDrawables(@IdRes id: Int, left: Drawable?, top: Drawable?, right: Drawable?, bottom: Drawable?): TextView

设置视图的复合绘图 Drawable

Return

TextView

Parameters

id

视图ID

left

左方的Drawable

top

上方的Drawable

right

右方的Drawable

bottom

下方的Drawable