hunterp hunterp - 5 months ago 23
Android Question

Calling setCompoundDrawables() doesn't display the Compound Drawable

After I call the

method, the compound Drawable is not shown..

Drawable myDrawable = getResources().getDrawable(R.drawable.btn);
btn.setCompoundDrawables(myDrawable, null, null, null);


Any thoughts?

Answer