Freigeben über


Gravity.IsVertical(GravityFlags) Method

Definition

Indicate whether the supplied gravity has a vertical pull.

[Android.Runtime.Register("isVertical", "(I)Z", "")]
public static bool IsVertical (Android.Views.GravityFlags gravity);
[<Android.Runtime.Register("isVertical", "(I)Z", "")>]
static member IsVertical : Android.Views.GravityFlags -> bool

Parameters

gravity
GravityFlags

the gravity to check for vertical pull

Returns

true if the supplied gravity has a vertical pull

Attributes

Remarks

Indicate whether the supplied gravity has a vertical pull.

Java documentation for android.view.Gravity.isVertical(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