LinearLayout in Android

A LinearLayout is a layout that arranges its children either horizontally or vertically, depending on the value of its orientation property. The LinearLayout is the easiest layout to use. A LinearLayout can also have a gravity attribute that affects its gravity.