Language

Layout.Builder.SetFallbackLineSpacingEnabled(Boolean) Method

Definition

Set whether to respect the ascent and descent of the fallback fonts.

[Android.Runtime.Register("setFallbackLineSpacingEnabled", "(Z)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetFallbackLineSpacingEnabled(bool fallbackLineSpacing);
[<Android.Runtime.Register("setFallbackLineSpacingEnabled", "(Z)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetFallbackLineSpacingEnabled : bool -> Android.Text.Layout.Builder

Parameters

fallbackLineSpacing
Boolean

whether to expand line height based on fallback fonts.

Returns

this builder instance. This value cannot be null.

Attributes

Remarks

Set whether to respect the ascent and descent of the fallback fonts. Set whether to respect the ascent and descent of the fallback fonts that are used in displaying the text (which is needed to avoid text from consecutive lines running into each other). If set, fallback fonts that end up getting used can increase the ascent and descent of the lines that they are used on. The default value is false

Android reference for android.text.Layout.Builder.setFallbackLineSpacingEnabled.

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