android setCompoundDrawables 不显示问题

在 vh.tvAddr.setCompoundDrawables(getResources().getDrawable(R.drawable.ic_real_state_loc), null, null,

null);之前需要设置图片的宽高

drawable.setBounds(0, 0, 36,36);  

原文地址:https://www.cnblogs.com/jinglecode/p/5600964.html