View.TextAlignmentCenter 字段

定义

注意

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

将段落居中,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

字段值

Value = 4
属性

注解

将段落居中,例如ALIGN_CENTER。

#setTextAlignment(int) 结合使用

android.view.View.TEXT_ALIGNMENT_CENTERJava 文档。

此页面的部分内容是基于 创建和共享的工作进行的修改,并根据 署名许可中所述的术语使用。

适用于