public class TableLayout extends LinearLayout
| Constructor and Description |
|---|
TableLayout() |
TableLayout(LinearLayoutConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
endContainerLayout(android.view.ViewGroup container,
AndroidMetawidget metawidget)
Finish the given container, using the given Metawidget to access additional services if
needed (such as state saving).
|
protected android.widget.TableLayout |
getLayout(android.view.ViewGroup container)
Initialize the TableLayout.
|
protected void |
layoutWidget(android.view.View view,
android.view.ViewGroup tableRow,
android.view.ViewGroup container,
boolean hasLabel) |
protected android.view.ViewGroup |
newViewToAddTo(android.view.ViewGroup container) |
layoutWidget, onEndBuild, onStartBuild, startContainerLayoutpublic TableLayout()
public TableLayout(LinearLayoutConfig config)
public void endContainerLayout(android.view.ViewGroup container,
AndroidMetawidget metawidget)
AdvancedLayoutendContainerLayout in interface AdvancedLayout<android.view.View,android.view.ViewGroup,AndroidMetawidget>endContainerLayout in class LinearLayoutcontainer - the container to layout. This is often the same as the given Metawidgetmetawidget - the Metawidget to use to access additional services. Never nullprotected void layoutWidget(android.view.View view,
android.view.ViewGroup tableRow,
android.view.ViewGroup container,
boolean hasLabel)
layoutWidget in class LinearLayouttableRow - the view to add to. This may be different from container. For example it may be a
TableRowhasLabel - whether the view has a label. This may affect how it is laid out. For example a
TableRow may need to span two columnsprotected android.view.ViewGroup newViewToAddTo(android.view.ViewGroup container)
newViewToAddTo in class LinearLayoutprotected android.widget.TableLayout getLayout(android.view.ViewGroup container)
We don't initialize the TableLayout unless we find we have something to put into it, because Android doesn't like empty TableLayouts.
getLayout in class LinearLayoutCopyright © 2015. All Rights Reserved.