View.TextAlignmentGravity 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Views.TextAlignment enum directly instead of this field.
root 視圖預設。
[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
欄位值
Value = 1- 屬性
備註
root 視圖預設。 重力決定了文字對齊、ALIGN_NORMAL、ALIGN_CENTER或ALIGN_OPPOSITE,這些都相對於每個段落的文字方向。
搭配 #setTextAlignment(int) 使用
Java 文件 android.view.View.TEXT_ALIGNMENT_GRAVITY。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。