public abstract class

LinearLayout

extends Layout
java.lang.Object
   ↳ com.neomades.ui.View
     ↳ com.neomades.ui.Layout
       ↳ com.neomades.ui.LinearLayout
Known Direct Subclasses

Class Overview

This abstract class represents a LinearLayout.

Summary

[Expand]
Inherited XML Attributes
From class com.neomades.ui.View
[Expand]
Inherited Constants
From interface com.neomades.ui.Alignment
From interface com.neomades.ui.StretchMode
Public Methods
void setContentAlignment(int anchor)
Sets the alignment about child views positions.
[Expand]
Inherited Methods
From class com.neomades.ui.Layout
From class com.neomades.ui.View
From class java.lang.Object

Public Methods

public void setContentAlignment (int anchor)

Sets the alignment about child views positions.

If this layout has extra space for its content, child positions could be aligned with this anchor parameter.

Parameters
anchor content alignment anchor
Throws
CrossThreadException if the method is called from outside the UI-Thread
IllegalArgumentException if the anchor is invalid