What is linear layout in Android?

Ngân Lam

New member
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:eek:rientation attribute. … A LinearLayout respects margins between children and the gravity (right, center, or left alignment) of each child.
 

Tìm kiếm

Back
Top