hunterp hunterp -5 years ago 180
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 Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download