user601367 user601367 - 13 days ago 5
Android Question

What is the difference between linear and relative layout?

What is the difference between linear and relative layout?

Answer

Linear layouts put every child, one after the other, in a line, either horizontally or vertically. With a relative layout you can give each child a LayoutParam that specifies exactly where is should go, relative to the parent or relative to other children.

Comments