What is linear layout in Android?
Answer
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
rientation attribute. … A LinearLayout respects margins between children and the gravity (right, center, or left alignment) of each child.
Answer
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