How Can I Set The Drawableright Resource Via Code?
I am trying to set an image on the right side of my button after the button has been clicked. I want to do this via code. I have seen how to change the background resource via cod
Solution 1:
You need to use the
public void setCompoundDrawables (Drawable left, Drawable top, Drawable right,
Drawable bottom)
method with null for any that are not needed.
Post a Comment for "How Can I Set The Drawableright Resource Via Code?"