动态修改drawableLeft的图片

Drawable drawableLeft = mContext.getDrawable(R.mipmap.user_enterprise_check);

drawableLeft.setBounds(0, 0, drawableLeft.getMinimumWidth(), drawableLeft.getMinimumHeight());

holder.mTvIsCheck.setCompoundDrawables(drawableLeft, null, null, null);

holder.mTvIsCheck.setCompoundDrawablePadding(10)

你可能感兴趣的:(动态修改drawableLeft的图片)