1.

State some properties of Linear and Relatives Layouts.

Answer»

RelativeLayout is a view group that displays child views in relative POSITIONS. The position of each view can be specified as relative to sibling elements (such as to the left-of or below another view) or in positions relative to the parent RelativeLayout area (such as aligned to the BOTTOM, left or center).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:ORIENTATION attribute.



Discussion

No Comment Found