This is an excerpt from Learn by Doing - Android for Beginners on Udemy.
https://www.udemy.com/learn-by-doing-...
This video will teach you how to use the LinearLayout and its properties.
Things to Remember
-------------------------------
1. LinearLayout arranges it's child views either in a single row or a single column depending upon it's orientation.
2. The orientation property can either be horizontal (single row) or vertical (single column).
3. Use the gravity property to specify the alignment of the child views within the LinearLayout. You can use a combination of different gravity values.
4. The child view's weight property decides how the free space is distributed among the children. It is a floating point value and can take up any value.
5. Empty space is distributed vertically among the children when a weight property is specified in vertical orientation and horizontally in the horizontal orientation.
Watch video Android Tutorial 32 - Putting Things "Linear"ly in a "Layout" online without registration, duration hours minute second in high quality. This video was added by user Code Here Now 24 March 2014, don't forget to share it with your friends and acquaintances, it has been viewed on our site 718 once and liked it 1 people.