在我调用该setCompoundDrawables方法后,没有显示复合 Drawable ..
setCompoundDrawables
Drawable myDrawable = getResources().getDrawable(R.drawable.btn); btn.setCompoundDrawables(myDrawable, null, null, null);
有什么想法吗?
我需要使用setCompoundDrawablesWithIntrinsicBounds.
setCompoundDrawablesWithIntrinsicBounds