Cool!
28.01.2011 16:39, cellurl пишет:
That worked so easily, I didn't believe it at first!
Only the experts know "the workarounds". Thanks Kostya!
-cellurl
On Dec 18 2010, 3:45 am, Kostya Vasilyev<[email protected]> wrote:
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.htm...,
int)
Put an ImageView into your RelativeLayout, size it to fit the entire
layout, and it's as good as having abackgroundimage.
Might want to also setbackground="@android:color/transparent" for the
relative layout, as an optimization.
--
Kostya Vasilyev -- WiFi Manager + prettywidget--http://kmansoft.wordpress.com
--
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