android.widget
Class RadioGroup.LayoutParams
java.lang.Object
android.view.ViewGroup.LayoutParams
android.view.ViewGroup.MarginLayoutParams
android.widget.LinearLayout.LayoutParams
android.widget.RadioGroup.LayoutParams
- Enclosing class:
- RadioGroup
public static class RadioGroup.LayoutParams
- extends LinearLayout.LayoutParams
This set of layout parameters defaults the width and the height of
the children to ViewGroup.LayoutParams.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadioGroup.LayoutParams
public RadioGroup.LayoutParams(Context c,
AttributeSet attrs)
-
RadioGroup.LayoutParams
public RadioGroup.LayoutParams(int w,
int h)
-
RadioGroup.LayoutParams
public RadioGroup.LayoutParams(int w,
int h,
float initWeight)
-
RadioGroup.LayoutParams
public RadioGroup.LayoutParams(ViewGroup.LayoutParams p)
-
RadioGroup.LayoutParams
public RadioGroup.LayoutParams(ViewGroup.MarginLayoutParams source)
-
setBaseAttributes
protected void setBaseAttributes(TypedArray a,
int widthAttr,
int heightAttr)
Fixes the child's width to
ViewGroup.LayoutParams.WRAP_CONTENT and the child's
height to ViewGroup.LayoutParams.WRAP_CONTENT
when not specified in the XML file.
- Overrides:
setBaseAttributes in class ViewGroup.LayoutParams
- Parameters:
a - the styled attributes setwidthAttr - the width attribute to fetchheightAttr - the height attribute to fetch
Please submit a feedback, bug or feature