Howdy,
I have a complex view that I would like to define in an XML layout resource and use as a template for dynamic creation. Something like 'createViewFromId(int)'. The Activity method findViewById(int) returns a (presumably static) object--I would like something to return a new object instance. Does anyone know how this might be achieved?
The only way I have seen to create dynamic views is to do it entirely programmatically, but I'd like the flexibility of using XML layout resources. Any ideas?
Regards,
Simon.

