Question: how xml is used in android?
Answer: XML in Android: Basics And Different XML Files Used In Android. XML stands for Extensible Markup Language. XML is a markup language much like HTML used to describe data. ... In Android we use xml for designing our layouts because xml is lightweight language so it doesn't make our layout heavy.