Android Guides | Samples

Android.Widget.RelativeLayout.LayoutParams Class

Per-child layout information associated with RelativeLayout.

See Also: RelativeLayout+LayoutParams

Syntax

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

Remarks

Per-child layout information associated with RelativeLayout.

[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.RelativeLayout.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

AlignWithParentBoolean. When true, uses the parent as the anchor if the anchor doesn't exist or if the anchor's visibility is GONE.

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

AddRule(LayoutRules)
Adds a layout rule to be interpreted by the RelativeLayout.
AddRule(LayoutRules, Int32)
Adds a layout rule to be interpreted by the RelativeLayout.
Debug(String) : String
Returns a String representation of this set of layout parameters.
GetRules() : Int32[]
Retrieves a complete list of all supported rules, where the index is the rule verb, and the element value is the value specified, or "false" if it was never set.
RemoveRule(LayoutRules)
Removes a layout rule to be interpreted by the RelativeLayout.