Android.Widget.LinearLayout Class
A Layout that arranges its children in a single column or a single row.

See Also: LinearLayout Members

Syntax

[Android.Runtime.Register("android/widget/LinearLayout", DoNotGenerateAcw=true)]
public class LinearLayout : Android.Views.ViewGroup

Remarks

A Layout that arranges its children in a single column or a single row. The direction of the row can be set by calling LinearLayout.Orientation. You can also specify gravity, which specifies the alignment of all the child elements by calling LinearLayout.SetGravity(Android.Views.GravityFlags) or specify that specific children grow to fill up any remaining space in the layout by setting the weight member of NoType:android/widget/LinearLayout$LayoutParams;Href=../../../reference/android/widget/LinearLayout.LayoutParams.html. The default orientation is horizontal.

See the Linear Layout guide.

Also see NoType:android/widget/LinearLayout$LayoutParams;Href=../../../reference/android/widget/LinearLayout.LayoutParams.html for layout attributes

[Android Documentation]

Requirements

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