Android Guides | Samples

Android.Widget.AbsoluteLayout Class

A layout that lets you specify exact locations (x/y coordinates) of its children.

See Also: AbsoluteLayout

Syntax

[Android.Runtime.Register("android/widget/AbsoluteLayout", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public class AbsoluteLayout : ViewGroup

Remarks

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 NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#ViewGroup, NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#View

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1Deprecated since API level 3

The members of Android.Widget.AbsoluteLayout are listed below.

See Also: ViewGroup

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Protected Methods

override
OnLayout(Boolean, Int32, Int32, Int32, Int32)
Called from layout when this view should assign a size and position to each of its children.