Which Android layout is best?

Lê Minh

Member
Which Android layout is best?
Answer
Takeaways.
LinearLayout
is perfect for displaying views in a single row or column. You can add layout_weights to the child views if you need to specify the space distribution. Use a RelativeLayout, or even better a ConstraintLayout, if you need to position views in relation to siblings views or parent views.
 

Tìm kiếm

Back
Top