What is the use of layouts in Android?

What is the use of layouts in Android?
Answer
A layout defines the visual structure for a user interface, such as the UI for an activity or app widget. You can declare a layout in two ways: Declare UI elements in XML. Android provides a straightforward XML vocabulary that corresponds to the View classes and subclasses, such as those for widgets and layouts.
 

Tìm kiếm

Back
Top