Build 1.0_r1(from source)

android.widget
Class RadioGroup.LayoutParams

java.lang.Object
  extended by android.view.ViewGroup.LayoutParams
      extended by android.view.ViewGroup.MarginLayoutParams
          extended by android.widget.LinearLayout.LayoutParams
              extended by 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.


Field Summary
 
Fields inherited from class android.widget.LinearLayout.LayoutParams
gravity, weight
 
Fields inherited from class android.view.ViewGroup.MarginLayoutParams
bottomMargin, leftMargin, rightMargin, topMargin
 
Fields inherited from class android.view.ViewGroup.LayoutParams
FILL_PARENT, height, layoutAnimationParameters, width, WRAP_CONTENT
 
Constructor Summary
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)
          
 
Method Summary
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.
 
Methods inherited from class android.widget.LinearLayout.LayoutParams
debug
 
Methods inherited from class android.view.ViewGroup.MarginLayoutParams
setMargins
 
Methods inherited from class android.view.ViewGroup.LayoutParams
sizeToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)

Method Detail

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 set
widthAttr - the width attribute to fetch
heightAttr - the height attribute to fetch

Build 1.0_r1(from source)

Please submit a feedback, bug or feature