动态更改textView 的drawableLeft/right/t/b

Drawable drawable = mContext.getResources().getDrawable(
R.drawable.vip_icon);
holder.yulequan_uname.setCompoundDrawablesRelativeWithIntrinsicBounds(null,
null, drawable, null);

猜你喜欢

转载自mermaid.iteye.com/blog/2208237