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.
Sur cette page du site, vous pouvez voir la vidéo en ligne Android Tutorial 32 - Putting Things "Linear"ly in a "Layout" durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code Here Now 24 mars 2014, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 718 fois et il a aimé 1 téléspectateurs. Bon visionnage!