I have a widget embedded in the home screen. To change the displayed
image upon a click, I have tried the following to no avail:
1. mRemoteViews.setImageViewResource(R.id.button,
R.drawable.sqyellow);
2. mRemoteViews.setInt(R.id.button,
"setBackgroundResource",R.drawable.sqyellow);
I also tried changing the widget to a button, an imageview, and an
imagebutton. It seems that, of the three, only button is supported.
Many thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to