The LayoutInflator docs ( http://developer.android.com/reference/android/view/LayoutInflater.html) are very explicitly saying this is not possible.
You could possibly do something by getting 'install' permissions for your app, and installing additional .apk files containing extra layouts. I've just tried, and instantiating a layout from an already installed .apk seems to work, as long as you refer to the fully qualified classname for the 'R' class you're refering to. Or you could parse the files yourself, of course, and built the UI in your own code. Not very nice, but doable if the layout elements used can be limited. Wouter On Mon, Feb 23, 2009 at 7:09 PM, Rafa <[email protected]> wrote: > > Hi every one, I trying to create an application similar to the > notepad3 tutorial. The main difference is that I need to be able to > create different "note formats". Is possible to obtain an xml file > from the web and use it in the creation of an android interface? I > have researched about the Metawidget library that is a very useful > tool for android but I haven't been able to create interfaces > dynamically. Does any one knows how this can be done? Thanks in > advance. > > Regards, > Helios > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

