Per-child layout information associated with MapView. Child views can
be laid out either positioned with respect to the MapView
(MODE_VIEW), or
positioned with respect to the map that is being displayed by the
MapView (MODE_MAP).

mode

point

x

The x location of the child relative to the view. Used when
mode == MODE_VIEW

y

public int y

The y location of the child relative to the view. Used when
mode == MODE_VIEW

alignment

public int alignment

Placement of child relative to the location. Similar to the
Gravity class, except the alignment is relative to a point
rather than an enclosing rectangle. You can or-together horizontal
and vertical alignment to create a complete alignment specification,
or you can use one of the predefined specifications
TOP_LEFT , CENTER or BOTTOM_CENTER.

MapView.LayoutParams

Creates a new set of layout parameters with the specified width,
height and location. This constructor sets the mode member
variable to (@link #MODE_MAP}, which means the child view will be
laid out relative to the map that is displayed within the parent
view.

Parameters:

width - The width, either ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels.

height - The height, either ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels.

MapView.LayoutParams

Creates a new set of layout parameters with the specified width,
height and location. This constructor sets the mode member
variable to (@link #MODE_MAP}, which means the child view will be
laid out relative to the map that is displayed within the parent
view.

Parameters:

width - the width, either ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels

height - the height, either ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels

MapView.LayoutParams

Creates a new set of layout parameters with the specified width,
height and location. This constructor sets the mode member
variable to MODE_VIEW, which means the child view will be
laid out relative to the parent view.

Parameters:

width - The width, either ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels.

height - The height, either ViewGroup.LayoutParams.FILL_PARENT,
ViewGroup.LayoutParams.WRAP_CONTENT or a fixed size in pixels.