LineBreakConfig.LineBreakStyleAuto 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Android.Graphics.Text.LineBreakStyle enum directly instead of this field.
換行風格選項的特殊值。
[Android.Runtime.Register("LINE_BREAK_STYLE_AUTO", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Text.LineBreakStyle enum directly instead of this field.", true)]
public const Android.Graphics.Text.LineBreakStyle LineBreakStyleAuto = 5;
[<Android.Runtime.Register("LINE_BREAK_STYLE_AUTO", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Text.LineBreakStyle enum directly instead of this field.", true)>]
val mutable LineBreakStyleAuto : Android.Graphics.Text.LineBreakStyle
欄位值
Value = 5實作
- 屬性
備註
換行風格選項的特殊值。
換行樣式的自動選項會根據文字渲染的地點設定換行樣式。 你可以用 android.widget.TextView#setTextLocales(LocaleList) 或 android.graphics.Paint#setTextLocales(LocaleList)來指定上下文地點。
在 API Build.VERSION_CODES#VANILLA_ICE_CREAM中,自動選項可執行以下操作:- 若 locale 列表中至少有一個 locale 包含日文文字,此選項等同 #LINE_BREAK_STYLE_STRICT於 。 - 否則,此選項等價 #LINE_BREAK_STYLE_NONE於 。
注意:未來版本可能會對其他地點有特別的破線規則。
Java 文件 android.graphics.text.LineBreakConfig.LINE_BREAK_STYLE_AUTO。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。