public static class LinearLayout.LayoutParams extends ViewGroup.MarginLayoutParams
| Modifier and Type | Field and Description |
|---|---|
int |
gravity |
float |
weight |
bottomMargin, leftMargin, rightMargin, topMarginFILL_PARENT, height, layoutAnimationParameters, MATCH_PARENT, width, WRAP_CONTENT| Constructor and Description |
|---|
LinearLayout.LayoutParams(Context c,
AttributeSet attrs) |
LinearLayout.LayoutParams(int width,
int height) |
LinearLayout.LayoutParams(int width,
int height,
float weight) |
LinearLayout.LayoutParams(ViewGroup.LayoutParams p) |
LinearLayout.LayoutParams(ViewGroup.MarginLayoutParams source) |
| Modifier and Type | Method and Description |
|---|---|
String |
debug(String output) |
setMarginssetBaseAttributespublic LinearLayout.LayoutParams(Context c, AttributeSet attrs)
public LinearLayout.LayoutParams(int width,
int height)
public LinearLayout.LayoutParams(int width,
int height,
float weight)
public LinearLayout.LayoutParams(ViewGroup.LayoutParams p)
public LinearLayout.LayoutParams(ViewGroup.MarginLayoutParams source)
Copyright © 2008-2013. All Rights Reserved.