---
title: "What is the importance of XML-based layouts?"  
description: "What is the importance of XML-based layouts?"  
author: "Khushi Kapoor"  
published: 2018-01-10  
canonical: https://answers.mindstick.com/qa/32825/what-is-the-importance-of-xml-based-layouts  
category: "technology"  
tags: ["android", "xml-based layouts"]  
reading_time: 1 minute  

---

# What is the importance of XML-based layouts?

What is the [importance](https://www.mindstick.com/articles/44200/5-ways-to-improve-the-company-culture) of [XML](https://www.mindstick.com/articles/178/xml-control-in-asp-dot-net)-based layouts?

## Answers

### Answer by Prateek sharma

in android **XML** is used to design the user interface. these are located in the resources file.using xml usually separates your **logic** from **presentation**.

by making these separations 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.

XML provides a **tree-like structure** which will help the developers to make it **easy** to understand.


---

Original Source: https://answers.mindstick.com/qa/32825/what-is-the-importance-of-xml-based-layouts

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
