Question - What is the importance of XML-based layouts? 
          
        
        Answer - 
        
The use of XML-based layouts provides a consistent and somewhat standard means of setting GUI definition format. In common practice, layout details are placed in XML files while other items are placed in source files.