共用方式為


RelativeLayout.SetHorizontalGravity(GravityFlags) Method

Definition

[Android.Runtime.Register("setHorizontalGravity", "(I)V", "GetSetHorizontalGravity_IHandler")]
public virtual void SetHorizontalGravity (Android.Views.GravityFlags horizontalGravity);
[<Android.Runtime.Register("setHorizontalGravity", "(I)V", "GetSetHorizontalGravity_IHandler")>]
abstract member SetHorizontalGravity : Android.Views.GravityFlags -> unit
override this.SetHorizontalGravity : Android.Views.GravityFlags -> unit

Parameters

horizontalGravity
GravityFlags
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