{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

Hyphens

@<Error class: unknown class>
value public final class Hyphens


Automatic hyphenation configuration.

Hyphenation is a dash-like punctuation mark used to join two-words into one or separate syl-lab-les of a word.

Automatic hyphenation is added between syllables at appropriate hyphenation points, following language rules.

However, user can override automatic break point selection, suggesting line break opportunities (see Suggesting line break opportunities below).

Suggesting line break opportunities:

The default configuration for Hyphens = Hyphens.None

Summary

Nested types

public static class Hyphens.Companion

Public methods

@NonNull String

Public methods

toString

public @NonNull String toString()