共用方式為


View.TextAlignmentCenter 欄位

定義

警告

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

將段落置中,例如

[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 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於