# What is the importance of XML-based layouts?

URL: https://answers.mindstick.com/qa/32825/what-is-the-importance-of-xml-based-layouts

What is the importance of XML-based layouts?

## Answers

### Answer by Prateek sharma

in android XMLand is used to designand the user interface. these are located in the resources file.using xmland usually separates your logic from presentation.by making these separationsand you can easily focus on your logic and develop an appealing application. this reduces the time it will take to generate the interface using logic code.and XML provides a tree-like structure which will help the developers to make it easy to understand.

