| java.lang.Object | |||||
| android.view.ViewGroup.LayoutParams | |||||
| android.view.ViewGroup.MarginLayoutParams | |||||
| android.widget.LinearLayout.LayoutParams | |||||
| android.widget.TableLayout.LayoutParams | |||||
This set of layout parameters enforces the width of each child to be FILL_PARENT and the height of each child to be WRAP_CONTENT, but only if the height is not specified.
XML Attributes inherited
from class
android.widget.LinearLayout.LayoutParams
XML Attributes inherited
from class
android.view.ViewGroup.MarginLayoutParams
XML Attributes inherited
from class
android.view.ViewGroup.LayoutParams
Constants inherited
from class
android.view.ViewGroup.LayoutParams
Fields inherited
from class
android.widget.LinearLayout.LayoutParams
Fields inherited
from class
android.view.ViewGroup.MarginLayoutParams
Fields inherited
from class
android.view.ViewGroup.LayoutParams
| TableLayout.LayoutParams(Context c, AttributeSet attrs) | |||||
| TableLayout.LayoutParams(int w, int h) | |||||
| TableLayout.LayoutParams(int w, int h, float initWeight) | |||||
| TableLayout.LayoutParams() | |||||
Sets the child width to ViewGroup.LayoutParams and the child height to WRAP_CONTENT. |
|||||
| void | setBaseAttributes(StyledAttributes a, int widthAttr, int heightAttr) | ||||
Fixes the row's width to FILL_PARENT; the row's height is fixed to WRAP_CONTENT if no layout height is specified. |
|||||
Methods inherited
from class
android.widget.LinearLayout.LayoutParams
Methods inherited
from class
android.view.ViewGroup.MarginLayoutParams
Methods inherited
from class
android.view.ViewGroup.LayoutParams
Methods inherited
from class
java.lang.Object
Sets the child width to ViewGroup.LayoutParams and the child height to WRAP_CONTENT.
Fixes the row's width to FILL_PARENT; the row's height is fixed to WRAP_CONTENT if no layout height is specified.
| a | the styled attributes set |
|---|---|
| widthAttr | the width attribute to fetch |
| heightAttr | the height attribute to fetch |