public static class ActionBar.LayoutParams extends ViewGroup.MarginLayoutParams
Modifier and Type | Field and Description |
---|---|
int |
gravity
Gravity for the view associated with these LayoutParams.
|
bottomMargin, DEFAULT_MARGIN_RELATIVE, leftMargin, rightMargin, topMargin
FILL_PARENT, height, layoutAnimationParameters, MATCH_PARENT, width, WRAP_CONTENT
Constructor and Description |
---|
LayoutParams(ActionBar.LayoutParams source) |
LayoutParams(Context c,
AttributeSet attrs) |
LayoutParams(int gravity) |
LayoutParams(int width,
int height) |
LayoutParams(int width,
int height,
int gravity) |
LayoutParams(ViewGroup.LayoutParams source) |
Modifier and Type | Method and Description |
---|---|
protected void |
encodeProperties(ViewHierarchyEncoder encoder) |
copyMarginsFrom, getLayoutDirection, getMarginEnd, getMarginStart, isLayoutRtl, isMarginRelative, onDebugDraw, resolveLayoutDirection, setLayoutDirection, setMarginEnd, setMargins, setMarginsRelative, setMarginStart
debug, setBaseAttributes, sizeToString
public int gravity
Gravity
public LayoutParams(Context c, AttributeSet attrs)
public LayoutParams(int width, int height)
public LayoutParams(int width, int height, int gravity)
public LayoutParams(int gravity)
public LayoutParams(ActionBar.LayoutParams source)
public LayoutParams(ViewGroup.LayoutParams source)
protected void encodeProperties(ViewHierarchyEncoder encoder)
encodeProperties
in class ViewGroup.MarginLayoutParams