In this tutorial we will go through the basic concepts of xml in Android and different XML files used for different purpose in Android. Then, we look into activity life cycle and the type of layout in Android.
Read and run the code to make you understand more about XML file and the layout.