public static class SmartSwipeWrapper.LayoutParams
extends android.view.ViewGroup.MarginLayoutParams
| 限定符和类型 | 字段和说明 |
|---|---|
int |
gravity
The gravity to apply with the View to which these layout parameters
are associated.
|
static int |
UNSPECIFIED_GRAVITY
Value for
gravity indicating that a gravity has not been
explicitly specified. |
| 构造器和说明 |
|---|
LayoutParams(android.content.Context c,
android.util.AttributeSet attrs) |
LayoutParams(int width,
int height) |
LayoutParams(int width,
int height,
int gravity)
Creates a new set of layout parameters with the specified width, height
and weight.
|
LayoutParams(SmartSwipeWrapper.LayoutParams source)
Copy constructor.
|
LayoutParams(android.view.ViewGroup.LayoutParams source) |
LayoutParams(android.view.ViewGroup.MarginLayoutParams source) |
public static final int UNSPECIFIED_GRAVITY
gravity indicating that a gravity has not been
explicitly specified.public int gravity
public LayoutParams(android.content.Context c,
android.util.AttributeSet attrs)
public LayoutParams(int width,
int height)
public LayoutParams(int width,
int height,
int gravity)
width - the width, either ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixelsheight - the height, either ViewGroup.LayoutParams.MATCH_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixelsgravity - the gravityGravitypublic LayoutParams(android.view.ViewGroup.LayoutParams source)
public LayoutParams(android.view.ViewGroup.MarginLayoutParams source)
public LayoutParams(SmartSwipeWrapper.LayoutParams source)
source - The layout params to copy from.