Issue
After I call the setCompoundDrawables
method, the compound Drawable is not shown..
Drawable myDrawable = getResources().getDrawable(R.drawable.btn);
btn.setCompoundDrawables(myDrawable, null, null, null);
Any thoughts?
Solution
I needed to be using setCompoundDrawablesWithIntrinsicBounds
.
Answered By - hunterp
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.