Introduction to Layout

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…

  1.  Linear Layout
  2.  Relative Layout
  3.  Table Layout
  4.  Grid View
  5.  Tab Layout
  6. List View

Leave a Reply