Condividi tramite


Gravity.IsHorizontal(GravityFlags) Method

Definition

Indicate whether the supplied gravity has an horizontal pull.

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

Parameters

gravity
GravityFlags

the gravity to check for horizontal pull

Returns

true if the supplied gravity has an horizontal pull

Attributes

Remarks

Indicate whether the supplied gravity has an horizontal pull.

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