AI2 Component
(Version nb184)
|
Public Member Functions | |
ViewGroup | getLayoutManager () |
void | add (AndroidViewComponent component) |
void | setHorizontalGravity (int gravity) |
void | setVerticalGravity (int gravity) |
void | setBaselineAligned (boolean baselineAligned) |
Linear layout for placing components horizontally or vertically.
Definition at line 20 of file LinearLayout.java.
void com.google.appinventor.components.runtime.LinearLayout.add | ( | AndroidViewComponent | component | ) |
Adds the specified component to this layout.
component | component to add |
Implements com.google.appinventor.components.runtime.Layout.
Definition at line 108 of file LinearLayout.java.
ViewGroup com.google.appinventor.components.runtime.LinearLayout.getLayoutManager | ( | ) |
Returns the view group (which is a container with a layout manager) associated with the layout.
Implements com.google.appinventor.components.runtime.Layout.
Definition at line 104 of file LinearLayout.java.
void com.google.appinventor.components.runtime.LinearLayout.setBaselineAligned | ( | boolean | baselineAligned | ) |
Definition at line 123 of file LinearLayout.java.
void com.google.appinventor.components.runtime.LinearLayout.setHorizontalGravity | ( | int | gravity | ) |
Definition at line 115 of file LinearLayout.java.
void com.google.appinventor.components.runtime.LinearLayout.setVerticalGravity | ( | int | gravity | ) |
Definition at line 119 of file LinearLayout.java.