Is there a setBackgroud in AppWigetProvider?

0

My question is whether the setBackground method exists in the AppWidgetProvider class?

If it is possible to use the method in class do you have any path that I can follow?

I'm developing a native widget.

    
asked by anonymous 19.03.2018 / 15:42

1 answer

1

The answer to my question is yes it has a form using the following code it is possible to set the background of the widget.

view.setInt(R.id.exec_cena,"setBackgroundResource",R.drawable.button_effect);
    
19.03.2018 / 19:39