|
Build 1.0_r1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectandroid.view.ViewGroup.LayoutParams
android.widget.AbsoluteLayout.LayoutParams
public static class AbsoluteLayout.LayoutParams
Per-child layout information associated with AbsoluteLayout. See Absolute Layout Attributes for a list of all child view attributes that this class supports.
| Field Summary | |
|---|---|
int |
x
The horizontal, or X, location of the child within the view group. |
int |
y
The vertical, or Y, location of the child within the view group. |
| Fields inherited from class android.view.ViewGroup.LayoutParams |
|---|
FILL_PARENT, height, layoutAnimationParameters, width, WRAP_CONTENT |
| Constructor Summary | |
|---|---|
AbsoluteLayout.LayoutParams(Context c,
AttributeSet attrs)
Creates a new set of layout parameters. |
|
AbsoluteLayout.LayoutParams(int width,
int height,
int x,
int y)
Creates a new set of layout parameters with the specified width, height and location. |
|
AbsoluteLayout.LayoutParams(ViewGroup.LayoutParams source)
|
|
| Method Summary | |
|---|---|
String |
debug(String output)
Returns a String representation of this set of layout parameters. |
| Methods inherited from class android.view.ViewGroup.LayoutParams |
|---|
setBaseAttributes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int x
public int y
| Constructor Detail |
|---|
public AbsoluteLayout.LayoutParams(int width,
int height,
int x,
int y)
width - the width, either FILL_PARENT,
WRAP_CONTENT or a fixed size in pixelsheight - the height, either FILL_PARENT,
WRAP_CONTENT or a fixed size in pixelsx - the X location of the childy - the Y location of the child
public AbsoluteLayout.LayoutParams(Context c,
AttributeSet attrs)
layout_x: the X location of the childlayout_y: the Y location of the child
c - the application environmentattrs - the set of attributes fom which to extract the layout
parameters valuespublic AbsoluteLayout.LayoutParams(ViewGroup.LayoutParams source)
| Method Detail |
|---|
public String debug(String output)
output - the String to prepend to the internal representation
|
Build 1.0_r1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||