Compartilhar via


RelativeLayout.Gravity Property

Definition

Describes how the child views are positioned.

public virtual Android.Views.GravityFlags Gravity { [Android.Runtime.Register("getGravity", "()I", "GetGetGravityHandler")] get; }
[<get: Android.Runtime.Register("getGravity", "()I", "GetGetGravityHandler")>]
member this.Gravity : Android.Views.GravityFlags

Property Value

the gravity.

Attributes

Remarks

Describes how the child views are positioned.

Java documentation for android.widget.RelativeLayout.getGravity().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also