android.widget
Class FrameLayout.LayoutParams
java.lang.Object
android.view.ViewGroup.LayoutParams
android.view.ViewGroup.MarginLayoutParams
android.widget.FrameLayout.LayoutParams
- Enclosing class:
- FrameLayout
public static class FrameLayout.LayoutParams
- extends ViewGroup.MarginLayoutParams
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.
|
Field Summary |
int |
gravity
The gravity to apply with the View to which these layout parameters
are associated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
gravity
public int gravity
- The gravity to apply with the View to which these layout parameters
are associated.
- See Also:
Gravity
FrameLayout.LayoutParams
public FrameLayout.LayoutParams(Context c,
AttributeSet attrs)
-
FrameLayout.LayoutParams
public FrameLayout.LayoutParams(int width,
int height)
-
FrameLayout.LayoutParams
public FrameLayout.LayoutParams(int width,
int height,
int gravity)
- Creates a new set of layout parameters with the specified width, height
and weight.
- Parameters:
width - the width, either ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixelsheight - the height, either ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixelsgravity - the gravity- See Also:
Gravity
FrameLayout.LayoutParams
public FrameLayout.LayoutParams(ViewGroup.LayoutParams source)
-
FrameLayout.LayoutParams
public FrameLayout.LayoutParams(ViewGroup.MarginLayoutParams source)
-
Please submit a feedback, bug or feature