Android uses XML-based layouts to specify the user interface components and their relationships. An XML layout file defines a tree of UI elements and their properties. Common layouts include linear layout (vertical or horizontal), relative layout (positions elements relative to each other), frame layout (stacks elements), and table layout (arranges elements into rows and columns). The scroll view allows scrolling through elements that exceed the display size. Developers attach layouts to Java code to programmatically access and modify UI elements.