Sdílet prostřednictvím


View.TextAlignmentCenter Field

Definition

Caution

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

Center the paragraph, e.

[Android.Runtime.Register("TEXT_ALIGNMENT_CENTER")]
[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 TextAlignmentCenter = 4;
[<Android.Runtime.Register("TEXT_ALIGNMENT_CENTER")>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Views.TextAlignment enum directly instead of this field.", true)>]
val mutable TextAlignmentCenter : Android.Views.TextAlignment

Field Value

Value = 4
Attributes

Remarks

Center the paragraph, e.g. ALIGN_CENTER.

Use with #setTextAlignment(int)

Java documentation for android.view.View.TEXT_ALIGNMENT_CENTER.

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