Is it possible to change a drawable on a button via java?
Example; I have a button like this.
<Button
style="@style/Buttons"
android:id="@+id/butFavTeam"
android:drawableBottom="@drawable/venue"/>
I want to change the current drawableBottom image with another from my drawable directory.
Have you looked at this method:
Try this:
I hope that helps.