Android: Which Layout adds each child View in a straight line, either vertically or horizontally and allows you to specify a "weight" for each child View that controls the relative size of each within the available space?

Android: Which Layout adds each child View in a straight line, either vertically or horizontally and allows you to specify a "weight" for each child View that controls the relative size of each within the available space?



A. LinearLayout
B. RelativeLayout
C. TableLayout
D. AbsoluteLayout


Answer: A


Learn More :