Added in API level 1
Deprecated in API level 3

AbsoluteLayout


open class AbsoluteLayout : ViewGroup
kotlin.Any
   ↳ android.view.View
   ↳ android.view.ViewGroup
   ↳ 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.

XML attributes

See ViewGroup Attributes, View Attributes

Summary

Nested classes
open

Per-child layout information associated with AbsoluteLayout.

Inherited XML attributes
Inherited constants
Public constructors

AbsoluteLayout(context: Context!, attrs: AttributeSet!)

AbsoluteLayout(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

AbsoluteLayout(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

Public methods
open ViewGroup.LayoutParams!

open Boolean

Protected methods
open Boolean

open ViewGroup.LayoutParams!

Returns a set of layout parameters with a width of android.view.ViewGroup.LayoutParams#WRAP_CONTENT, a height of android.view.ViewGroup.LayoutParams#WRAP_CONTENT and with the coordinates (0, 0).

open ViewGroup.LayoutParams!

open Unit
onLayout(changed: Boolean, l: Int, t: Int, r: Int, b: Int)

open Unit
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)

Inherited functions