I\'m new to Android development and have started creating my own UI. I see that you can either create it dynamically something like this (Dynamic Layouts):
@
It's completely your own choice. You'll probably find most Android Developers use XML to code their layouts of their app, since this was specifically designed for this. Yet I personally come from a game development background and don't really require Android's provided UI widgets, so when ever I do use a UI widget, I simply code it in java.
I hope this helps.