Android Guides | Samples

Android.Widget.LinearLayout.LayoutParams Class

Per-child layout information associated with ViewLinearLayout.

See Also: LinearLayout+LayoutParams

Syntax

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

Remarks

Per-child layout information associated with ViewLinearLayout.

[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

The members of Android.Widget.LinearLayout.LayoutParams are listed below.

See Also: ViewGroup+MarginLayoutParams

Public Constructors

Protected Constructors

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

Public Properties

GravityGravityFlags. Gravity for the view associated with these LayoutParams.
WeightSingle. Indicates how much of the extra space in the LinearLayout will be allocated to the view associated with these LayoutParams.

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.

Public Methods

Debug(String) : String
Returns a String representation of this set of layout parameters.