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 <kmans...@gmail.com> 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

-- 
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