I thinks it\'s probably not possible for security reason but just want to be sure: is it possible to create layout in Android from an external XML file?
To be exactl
YES, right now is possible with ItsNat Droid, take a look:
https://groups.google.com/forum/#!topic/itsnat/13nl0P12J_s
It is still under heavy development but most important features are already implemented.