Описание тега android-linearlayout
LinearLayout is one of the basic layouts in Android. It arranges its children one after the another, either horizontally or vertically.
LinearLayout
is a view group that aligns all children in a single direction, vertically or horizontally. You can specify the layout direction with the android:orientation
attribute.
All children of a LinearLayout
are stacked one after the other, so a vertical list will only have one child per row, no matter how wide they are, and a horizontal list will only be one row high (the height of the tallest child, plus padding). A LinearLayout
respects margins between children and the gravity (right, center, or left alignment) of each child. More information about the layout:
- The documentation for the
LinearLayout
class. - The official guide regarding
LinearLayout
.