I am an experienced Java programmer but new to Android. I want to port a DSL (Domain Specific Language) Java application that generates everything - including the GUI - on the fly using Java code rather than XML, but I can't find any useful examples of creating apps other than the very basic "Hello Android". Does anyone know of a useful resource on programming the GUI? The only alternative is to experiment with the APIs and I feel this could take a while. I'll settle for a book that covers this topic but all the ones I've seen only talk about the declarative approach.
Alternatively, is there a direct correlation between the (well documented) XML constructs and corresponding Java structures? One that can be deduced by the use of simple rules?