Share via


Gallery.SetGravity(GravityFlags) Method

Definition

Caution

deprecated

Describes how the child views are aligned.

[Android.Runtime.Register("setGravity", "(I)V", "GetSetGravity_IHandler")]
[System.Obsolete("deprecated")]
public virtual void SetGravity (Android.Views.GravityFlags gravity);
[<Android.Runtime.Register("setGravity", "(I)V", "GetSetGravity_IHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetGravity : Android.Views.GravityFlags -> unit
override this.SetGravity : Android.Views.GravityFlags -> unit

Parameters

gravity
GravityFlags

gravity

Attributes

Remarks

Describes how the child views are aligned.

Java documentation for android.widget.Gallery.setGravity(int).

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