setCompoundDrawables

public static void setCompoundDrawables(TextView textView, int gravity, int resId)

设置 TextView 的setCompoundDrawablesRelative

Parameters

textView

TextView

gravity

仅支持设置:Gravity.START,Gravity.TOP,Gravity.END,Gravity.BOTTOM。

resId

资源ID