RadioGroup.LayoutParams

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.

Summary

Inherited XML attributes

Inherited constants

Inherited fields

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 WRAP_CONTENT and the child's height to WRAP_CONTENT when not specified in the XML file.

Inherited methods

Public constructors

RadioGroup.LayoutParams

added in API level 1
RadioGroup.LayoutParams (Context c, 
                AttributeSet attrs)

Parameters
c Context

attrs AttributeSet

RadioGroup.LayoutParams

added in API level 1
RadioGroup.LayoutParams (int w, 
                int h)

Parameters
w int

h int

RadioGroup.LayoutParams

added in API level 1
RadioGroup.LayoutParams (int w, 
                int h, 
                float initWeight)

Parameters
w int

h int

initWeight float

RadioGroup.LayoutParams

added in API level 1
RadioGroup.LayoutParams (ViewGroup.LayoutParams p)

Parameters
p ViewGroup.LayoutParams

RadioGroup.LayoutParams

added in API level 1
RadioGroup.LayoutParams (ViewGroup.MarginLayoutParams source)

Parameters
source ViewGroup.MarginLayoutParams

Protected methods

setBaseAttributes

added in API level 1
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