In Android development, developers have two options for developing UI. 1. Using Java, like swing development 2. Using main.xml Advantage of using main.xml for UI creation 1. It allows developer to drag and drop controls like .net development. 2. Reduced large amount of time for UI creation and it does allow developer to concentrate only on business logic. 3. Developer can easily add action to components like button, check box, etc..,