Changing background of a button in widget: Android -
i need change background
of button programmatically. button placed in widget.
i got example of changing background color here, changing color, , want use image instead of color.
is there way apply background image button programmatically?
thank you
instead of using setbackgroundcolor
in example linked should able use setbackgroundresource
think.
Comments
Post a Comment