java.lang.Object | |||
↳ | android.view.ViewGroup.LayoutParams | ||
↳ | android.view.ViewGroup.MarginLayoutParams | ||
↳ | android.widget.FrameLayout.LayoutParams |
Per-child layout information for layouts that support margins. See FrameLayout Layout Attributes for a list of all child view attributes that this class supports.
[Expand]
Inherited XML Attributes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.LayoutParams
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
gravity | The gravity to apply with the View to which these layout parameters are associated. |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class
android.view.ViewGroup.LayoutParams
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new set of layout parameters with the specified width, height
and weight.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class android.view.ViewGroup.MarginLayoutParams
| |||||||||||
From class android.view.ViewGroup.LayoutParams
| |||||||||||
From class java.lang.Object
|
The gravity to apply with the View to which these layout parameters are associated.
Creates a new set of layout parameters with the specified width, height and weight.
width | the width, either FILL_PARENT, WRAP_CONTENT or a fixed size in pixels |
---|---|
height | the height, either FILL_PARENT, WRAP_CONTENT or a fixed size in pixels |
gravity | the gravity |