public
static
class
RadioGroup.LayoutParams
extends LinearLayout.LayoutParams
| java.lang.Object | ||||
| ↳ | android.view.ViewGroup.LayoutParams | |||
| ↳ | android.view.ViewGroup.MarginLayoutParams | |||
| ↳ | android.widget.LinearLayout.LayoutParams | |||
| ↳ | android.widget.RadioGroup.LayoutParams | |||
This set of layout parameters defaults the width and the height of
the children to WRAP_CONTENT when they are not specified in the
XML file. Otherwise, this class ussed the value read from the XML file.
See
LinearLayout Attributes
for a list of all child view attributes that this class supports.
Inherited XML attributes | |
|---|---|
android.widget.LinearLayout.LayoutParams
| |
android.view.ViewGroup.MarginLayoutParams
| |
android.view.ViewGroup.LayoutParams
| |
Inherited constants |
|---|
android.view.ViewGroup.LayoutParams
|
Inherited fields |
|---|
android.widget.LinearLayout.LayoutParams
|
android.view.ViewGroup.MarginLayoutParams
|
android.view.ViewGroup.LayoutParams
|
Public constructors | |
|---|---|
RadioGroup.LayoutParams(Context c, AttributeSet attrs)
|
|
RadioGroup.LayoutParams(int w, int h)
|
|
RadioGroup.LayoutParams(int w, int h, float initWeight)
|
|
RadioGroup.LayoutParams(ViewGroup.LayoutParams p)
|
|
RadioGroup.LayoutParams(ViewGroup.MarginLayoutParams source)
|
|
Protected methods | |
|---|---|
void
|
setBaseAttributes(TypedArray a, int widthAttr, int heightAttr)
Fixes the child's width to
|
Inherited methods | |
|---|---|
android.widget.LinearLayout.LayoutParams
| |
android.view.ViewGroup.MarginLayoutParams
| |
android.view.ViewGroup.LayoutParams
| |
java.lang.Object
| |
RadioGroup.LayoutParams (Context c, AttributeSet attrs)
| Parameters | |
|---|---|
c |
Context
|
attrs |
AttributeSet
|
RadioGroup.LayoutParams (int w,
int h)
| Parameters | |
|---|---|
w |
int
|
h |
int
|
RadioGroup.LayoutParams (int w,
int h,
float initWeight)
| Parameters | |
|---|---|
w |
int
|
h |
int
|
initWeight |
float
|
RadioGroup.LayoutParams (ViewGroup.LayoutParams p)
| Parameters | |
|---|---|
p |
ViewGroup.LayoutParams
|
RadioGroup.LayoutParams (ViewGroup.MarginLayoutParams source)
| Parameters | |
|---|---|
source |
ViewGroup.MarginLayoutParams
|
void setBaseAttributes (TypedArray a, int widthAttr, int heightAttr)
Fixes the child's width to
WRAP_CONTENT and the child's
height to WRAP_CONTENT
when not specified in the XML file.
| Parameters | |
|---|---|
a |
TypedArray:
the styled attributes set |
widthAttr |
int:
the width attribute to fetch |
heightAttr |
int:
the height attribute to fetch
|