English | Site Directory

Android - An Open Handset Alliance Project

android.widget
public class

android.widget.AbsoluteLayout

java.lang.Object
android.view.View Drawable.Callback KeyEvent.Callback
android.view.ViewGroup ViewManager ViewParent
android.widget.AbsoluteLayout

A layout that lets you specify exact locations (x/y coordinates) of its children. Absolute layouts are less flexible and harder to maintain than other types of layouts without absolute positioning.

Nested Classes
AbsoluteLayout.LayoutParams Per-child layout information associated with AbsoluteLayout. 
Known Direct Subclasses

Summary

XML Attributes inherited from class android.view.ViewGroup
XML Attributes inherited from class android.view.View
Constants inherited from class android.view.ViewGroup
Constants inherited from class android.view.View
Fields inherited from class android.view.ViewGroup
Fields inherited from class android.view.View

Public Constructors

          AbsoluteLayout(Context context)
          AbsoluteLayout(Context context, AttributeSet attrs, Map inflateParams)
          AbsoluteLayout(Context context, AttributeSet attrs, Map inflateParams, int defStyle)

Public Methods

        LayoutParams  generateLayoutParams(AttributeSet attrs)

Protected Methods

        boolean  checkLayoutParams(LayoutParams p)
        void  onLayout(boolean changed, int l, int t, int r, int b)
Called from layout when this view should assign a size and position to each of its children.
        void  onMeasure(int widthMeasureSpec, int heightMeasureSpec)

Measure the view and its content to determine the measured width and the measured height.

Methods inherited from class android.view.ViewGroup