Android
android.widget
public static class

android.widget.RadioGroup.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

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

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.

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

Details

Public Constructors

public RadioGroup.LayoutParams(Context c, AttributeSet attrs)

public RadioGroup.LayoutParams(int w, int h)

public RadioGroup.LayoutParams(int w, int h, float initWeight)

public RadioGroup.LayoutParams(ViewGroup.LayoutParams p)

public RadioGroup.LayoutParams(ViewGroup.MarginLayoutParams source)

Protected Methods

protected 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 the styled attributes set
widthAttr the width attribute to fetch
heightAttr the height attribute to fetch
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56