共用方式為


View.TextAlignmentInherit Field

Definition

Caution

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

Default text alignment.

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

Field Value

Value = 0
Attributes

Remarks

Default text alignment. The text alignment of this View is inherited from its parent. Use with #setTextAlignment(int)

Java documentation for android.view.View.TEXT_ALIGNMENT_INHERIT.

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