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.
[Expand]
Inherited XML Attributes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.LinearLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.LinearLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Fixes the child's width to
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.widget.LinearLayout.LayoutParams
| |||||||||||
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
| |||||||||||
From class
java.lang.Object
|
Fixes the child's width to
WRAP_CONTENT
and the child's
height to WRAP_CONTENT
when not specified in the XML file.
a | the styled attributes set |
---|---|
widthAttr | the width attribute to fetch |
heightAttr | the height attribute to fetch |