共用方式為


LineBreaker.BreakStrategySimple 欄位

定義

警告

This constant will be removed in the future version. Use Android.Graphics.Text.BreakStrategy enum directly instead of this field.

中斷策略的值,指出簡單的中斷行。

[Android.Runtime.Register("BREAK_STRATEGY_SIMPLE", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Text.BreakStrategy enum directly instead of this field.", true)]
public const Android.Graphics.Text.BreakStrategy BreakStrategySimple = 0;
[<Android.Runtime.Register("BREAK_STRATEGY_SIMPLE", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Graphics.Text.BreakStrategy enum directly instead of this field.", true)>]
val mutable BreakStrategySimple : Android.Graphics.Text.BreakStrategy

欄位值

Value = 0
屬性

備註

中斷策略的值,指出簡單的中斷行。

換行符會盡可能多地將單字放在行中,如果沒有更多單字可以放入同一行,則換行符。 只有在行有單一單字且該單字超過行寬時,才會新增自動連字元。 這是最快速的中斷策略,非常適合編輯器。

android.graphics.text.LineBreaker.BREAK_STRATEGY_SIMPLEJava 檔。

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

適用於