I suspect the answer is no, but it only seems possible at the moment
to update an AppWidget via a RemoteViews object which is inflated from
a static XML file.

Is there any way to build a RemoteViews object on the fly, or edit the
layout of one that is already there?

The requirement is that I dont know until runtime exactly how many
ImageViews I want to display in my AppWidget.

Currently I am setting all the ImageViews I may need in the layout XML
file as invisible and then just making the ones I want visible, but am
I then limited to what I have in the XML file to start with. It would
be far more convenient to be able to just add the ones I need on the
fly, and set their properties when updating.

Anyone know if there is a way to do that?

Thanks
James

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