Share via


LineBreakConfigSpan.CreateNoBreakSpan Method

Definition

A specialized LineBreakConfigSpan that used for preventing line break.

[Android.Runtime.Register("createNoBreakSpan", "()Landroid/text/style/LineBreakConfigSpan;", "", ApiSince=35)]
public static Android.Text.Style.LineBreakConfigSpan CreateNoBreakSpan ();
[<Android.Runtime.Register("createNoBreakSpan", "()Landroid/text/style/LineBreakConfigSpan;", "", ApiSince=35)>]
static member CreateNoBreakSpan : unit -> Android.Text.Style.LineBreakConfigSpan

Returns

Attributes

Remarks

A specialized LineBreakConfigSpan that used for preventing line break.

This is useful when you want to preserve some words in the same line. Note that even if this style is specified, the grapheme based line break is still performed for preventing clipping text.

Java documentation for android.text.style.LineBreakConfigSpan.createNoBreakSpan().

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