In this tutorial we discuss about layouts.
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.
Instantiate layout elements at runtime: Your application can create View and ViewGroup objects (and manipulate their properties) programmatically.
For More Information about Layout Click Here
Types of Layouts: There are Basic Six Layout are following…
- Linear Layout
- Relative Layout
- Table Layout
- Grid View
- Tab Layout
- List View