Udostępnij za pośrednictwem


Resource.Attribute.Gravity Field

Definition

Specifies how an object should position its content, on both the X and Y axes, within its own bounds.

[Android.Runtime.Register("gravity")]
public const int Gravity = 16842927;
[<Android.Runtime.Register("gravity")>]
val mutable Gravity : int

Field Value

Value = 16842927
Attributes

Remarks

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