Currently view inflation only works on compiled XML resources. Being able to operate on any generic XML file is in the design, but won't be available for 1.0. Even if it was, I suspect the performance difference between the two would be pretty disturbing. Once the code is open-source, I think a good project for someone would be to take the current aapt code, and add an option so it can compile a single XML file against the resources of an application (and system). Then your server could generate the XML file, compile it to binary, serve that to the application, and let the app load its layout efficiently from that.
On Jun 26, 10:10 am, kingkung <[EMAIL PROTECTED]> wrote: > Is this possible? Can I import an android layout xml file from a > remote server, and use it within the application (without writing my > own parser)? If not, is there an easy way to parse out a remote xml > file and create a layout on the fly? > > 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

