[Draft] This class implements a absolute layout, allowing explicit positioning of children. Positions are from the top left of the layout and can be set using the Actor::Property::POSITION and alike.
public class AbsoluteLayout : LayoutGroup, ILayoutParent
API Level: 6
OnLayout(Boolean, LayoutLength, LayoutLength, LayoutLength, LayoutLength)
Assign a size and position to each of its children.
protected override void OnLayout(bool changed, LayoutLength left, LayoutLength top, LayoutLength right, LayoutLength bottom)
This is a new size or position for this layout.
Left position, relative to parent.
Top position, relative to parent.
Right position, relative to parent.
Bottom position, relative to parent.
API Level: 6View Source
Measure the layout and its content to determine the measured width and the measured height.
protected override void OnMeasure(MeasureSpecification widthMeasureSpec, MeasureSpecification heightMeasureSpec)
horizontal space requirements as imposed by the parent.
vertical space requirements as imposed by the parent.