次の方法で共有


View.TextAlignmentGravity Field

Definition

Caution

This constant will be removed in the future version. Use Android.Views.TextAlignment enum directly instead of this field.

Default for the root view.

[Android.Runtime.Register("TEXT_ALIGNMENT_GRAVITY")]
[System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextAlignment enum directly instead of this field.", true)]
public const Android.Views.TextAlignment TextAlignmentGravity = 1;
[<Android.Runtime.Register("TEXT_ALIGNMENT_GRAVITY")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextAlignment enum directly instead of this field.", true)>]
val mutable TextAlignmentGravity : Android.Views.TextAlignment

Field Value

Value = 1
Attributes

Remarks

Default for the root view. The gravity determines the text alignment, ALIGN_NORMAL, ALIGN_CENTER, or ALIGN_OPPOSITE, which are relative to each paragraph's text direction.

Use with #setTextAlignment(int)

Java documentation for android.view.View.TEXT_ALIGNMENT_GRAVITY.

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