Compartilhar via


View.SetForegroundGravity(GravityFlags) Method

Definition

Describes how the foreground is positioned.

[Android.Runtime.Register("setForegroundGravity", "(I)V", "GetSetForegroundGravity_IHandler", ApiSince=23)]
public virtual void SetForegroundGravity (Android.Views.GravityFlags gravity);
[<Android.Runtime.Register("setForegroundGravity", "(I)V", "GetSetForegroundGravity_IHandler", ApiSince=23)>]
abstract member SetForegroundGravity : Android.Views.GravityFlags -> unit
override this.SetForegroundGravity : Android.Views.GravityFlags -> unit

Parameters

gravity
GravityFlags

see android.view.Gravity

Attributes

Remarks

Describes how the foreground is positioned. Defaults to START and TOP.

Java documentation for android.view.View.setForegroundGravity(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