17.12.2010 23:03, cellurl пишет:
More info. It says RemoteView doesnt have setImageResource().
Q: Does that mean I am out of luck??
-cellurl


RemoteViewshas setImageViewResource.

http://developer.android.com/reference/android/widget/RemoteViews.html#setImageViewResource(int, int)

Put an ImageView into your RelativeLayout, size it to fit the entire layout, and it's as good as having a background image.

Might want to also set background="@android:color/transparent" for the relative layout, as an optimization.

--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to