AI2 Component  (Version nb184)
com.google.appinventor.components.runtime.Layout Interface Reference
Inheritance diagram for com.google.appinventor.components.runtime.Layout:
com.google.appinventor.components.runtime.LinearLayout com.google.appinventor.components.runtime.TableLayout

Public Member Functions

ViewGroup getLayoutManager ()
 
void add (AndroidViewComponent component)
 

Detailed Description

The Layout interface provides methods for working with Simple component layouts.

Definition at line 16 of file Layout.java.

Member Function Documentation

◆ add()

void com.google.appinventor.components.runtime.Layout.add ( AndroidViewComponent  component)

Adds the specified component to this layout.

Parameters
componentcomponent to add

Implemented in com.google.appinventor.components.runtime.LinearLayout, and com.google.appinventor.components.runtime.TableLayout.

◆ getLayoutManager()

ViewGroup com.google.appinventor.components.runtime.Layout.getLayoutManager ( )

Returns the view group (which is a container with a layout manager) associated with the layout.

Returns
view group

Implemented in com.google.appinventor.components.runtime.TableLayout, and com.google.appinventor.components.runtime.LinearLayout.


The documentation for this interface was generated from the following file: