Android Tutorial 4Main Attributes in Linear Layout
YOUR LINK HERE:
http://youtube.com/watch?v=FOYq-2axTz0
#ridendroid • Linear Layout is a basic layout which is arrange the UI elements in sequentially, either vertical or horizontal. • In Linear Layout there are some following main attributes are used • 1. orientation :- • Set UI elements either vertical or horizontal • 2. gravity :- • controls the alignment of the layout like left, right, • top, bottom, center etc. • 3. layout_weight :- • The layout weight attribute specify each child • control’s relative importance within the parent • linear layout. • 4. weightSum :- • weightSum is the sum up of all the child attributes • weight. This attribute is required if we define weight property of the childs
#############################
