I am a complete newb to Android and have seen tutorials that show widgets being added via XML and also via Java. I want to know what industry experts prefer and why. The author/narrator seems to prefer XML saying it gives more control but I wanted to get feedback from veterans.

1. [With XML Tutorial](http://techstacked.tv/tutorial/android-tutorial-5-hello-world-app/)
2. [Without XML Tutorial](http://techstacked.tv/tutorial/android-tutorial-6-hello-world-app-using-java-and-not-xml/)

Thank You and again I apologize for a complete newb question.