Sdílet prostřednictvím


Spinner.Gravity Property

Definition

Describes how the selected item view is 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

A android.view.Gravity Gravity value

Attributes

Remarks

Describes how the selected item view is positioned. The default is determined by the current theme.

Java documentation for android.widget.Spinner.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