Android’s Layout Documentation

A layout contains the views and determines their relative positions.

Android documentation about layouts

  1. Hello, Views demonstrates six layouts: linear, relative, table, grid, tab, list.
  2. Declaring Layout in a .xml file
  3. Common Layout Objects: frame, linear, table, and relative
  4. Layout Resource in a .xml file

ApiDemos/Views/Layouts

  1. Baseline
  2. GridLayout
  3. HorizontalScrollView
    1. HorizontalScrollView1.java
    2. horizontal_scroll_view1.xml
  4. LinearLayout
  5. RelativeLayout
  6. ScrollView
  7. TableLayout