What is the use of linear layout in Android?

What is the use of 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. Note: For better performance and tooling support, you should instead build your layout with ConstraintLayout.
 

Tìm kiếm

Back
Top