Language

HyphenationFrequency Enum

Definition

public enum HyphenationFrequency
type HyphenationFrequency = 
Inheritance
HyphenationFrequency

Fields

Name Value Description
None 0

Value for hyphenation frequency indicating no automatic hyphenation. Using this option disables auto hyphenation which results in better text layout performance. A word may be broken without hyphens when a line has a single word and that word is longer than line width. Soft hyphens are ignored and will not be used as suggestions for potential line breaks.

Android reference for android.graphics.text.LineBreaker.HYPHENATION_FREQUENCY_NONE.

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.

Normal 1

Value for hyphenation frequency indicating a light amount of automatic hyphenation. This hyphenation frequency is useful for informal cases, such as short sentences or chat messages.

Android reference for android.graphics.text.LineBreaker.HYPHENATION_FREQUENCY_NORMAL.

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.

Full 2

Value for hyphenation frequency indicating the full amount of automatic hyphenation. This hyphenation frequency is useful for running text and where it's important to put the maximum amount of text in a screen with limited space.

Android reference for android.graphics.text.LineBreaker.HYPHENATION_FREQUENCY_FULL.

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