linux kernal

What is the linear Layout?

Linear Layout is a simple layout of Android Application and it is a view group that arranges all children in a single direction, vertically or horizontally. We can specify the layout direction with the android: orientation attribute.

Each child is given different weight these is known as lay out the weight . These denoted by the android:layout_weight attribute. This attribute is used to specify the child exactly how much space it should occupy on the screen. The default weight is zero.

Equal distribution: Equal distribution means giving each child the same specific size that it should occupy on the screen.

Unequal distribution:

Unequal distribution is nothing but giving each child a different amount of space to occupy on the screen