Share via


LineBreaker.BreakStrategyBalanced Field

Definition

Caution

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

Value for break strategy indicating balanced line breaking.

[Android.Runtime.Register("BREAK_STRATEGY_BALANCED", 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 BreakStrategyBalanced = 2;
[<Android.Runtime.Register("BREAK_STRATEGY_BALANCED", 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 BreakStrategyBalanced : Android.Graphics.Text.BreakStrategy

Field Value

Value = 2
Attributes

Remarks

Value for break strategy indicating balanced line breaking.

The line breaker does whole-paragraph optimization for making all lines similar length, and also applies automatic hyphenation when required. This break strategy is good for small screen devices such as watch screens.

Java documentation for android.graphics.text.LineBreaker.BREAK_STRATEGY_BALANCED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to