Android.Widget.RelativeLayout.SetIgnoreGravity Method
Defines which View is ignored when the gravity is applied.

Syntax

[Android.Runtime.Register("setIgnoreGravity", "(I)V", "GetSetIgnoreGravity_IHandler")]
public virtual void SetIgnoreGravity (int viewId)

See Also

RelativeLayout.SetGravity(Android.Views.GravityFlags)

Parameters

viewId
The id of the View to be ignored by gravity, or 0 if no View should be ignored.

Remarks

Defines which View is ignored when the gravity is applied. This setting has no effect if the gravity is Gravity.START | Gravity.TOP.

[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