public static class BaseCardView.LayoutParams extends FrameLayout.LayoutParams
Modifier and Type | Field and Description |
---|---|
static int |
VIEW_TYPE_EXTRA |
static int |
VIEW_TYPE_INFO |
static int |
VIEW_TYPE_MAIN |
int |
viewType
Card component type for the view associated with these LayoutParams.
|
gravity, UNSPECIFIED_GRAVITY
bottomMargin, DEFAULT_MARGIN_RELATIVE, leftMargin, rightMargin, topMargin
FILL_PARENT, height, layoutAnimationParameters, MATCH_PARENT, width, WRAP_CONTENT
Constructor and Description |
---|
LayoutParams(BaseCardView.LayoutParams source)
Copy constructor.
|
LayoutParams(Context c,
AttributeSet attrs) |
LayoutParams(int width,
int height) |
LayoutParams(ViewGroup.LayoutParams p) |
copyMarginsFrom, encodeProperties, getLayoutDirection, getMarginEnd, getMarginStart, isLayoutRtl, isMarginRelative, onDebugDraw, resolveLayoutDirection, setLayoutDirection, setMarginEnd, setMargins, setMarginsRelative, setMarginStart
debug, setBaseAttributes, sizeToString
public static final int VIEW_TYPE_MAIN
public static final int VIEW_TYPE_INFO
public static final int VIEW_TYPE_EXTRA
public int viewType
public LayoutParams(Context c, AttributeSet attrs)
public LayoutParams(int width, int height)
public LayoutParams(ViewGroup.LayoutParams p)
public LayoutParams(BaseCardView.LayoutParams source)
source
- The layout params to copy from.