Difference between revisions of "Android: LinearLayout"

From Ittichai Chammavanijakul's Wiki
Jump to navigation Jump to search
(Created page with "Five main areas of control == Orientation == == Fill Model == == Weight == == Gravity == == Padding == Category:Android_Programming_Concept")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
== Orientation ==
 
== Orientation ==
 +
* Whether or not the LinearLayout represents a row or a column.
 +
* Property:
 +
android:orientation
 +
* Values:
 +
vertical or horizontal
  
 
== Fill Model ==
 
== Fill Model ==

Latest revision as of 20:12, 21 March 2011

Five main areas of control

Orientation

  • Whether or not the LinearLayout represents a row or a column.
  • Property:

android:orientation

  • Values:

vertical or horizontal

Fill Model

Weight

Gravity

Padding