Share via


TextView.FallbackLineSpacing Property

Definition

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).

public virtual bool FallbackLineSpacing { [Android.Runtime.Register("isFallbackLineSpacing", "()Z", "GetIsFallbackLineSpacingHandler", ApiSince=28)] get; [Android.Runtime.Register("setFallbackLineSpacing", "(Z)V", "GetSetFallbackLineSpacing_ZHandler", ApiSince=28)] set; }
[<get: Android.Runtime.Register("isFallbackLineSpacing", "()Z", "GetIsFallbackLineSpacingHandler", ApiSince=28)>]
[<set: Android.Runtime.Register("setFallbackLineSpacing", "(Z)V", "GetSetFallbackLineSpacing_ZHandler", ApiSince=28)>]
member this.FallbackLineSpacing : bool with get, set

Property Value

whether fallback line spacing is enabled, true by default

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.TextView.isFallbackLineSpacing().

Property setter documentation:

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. <p/> It is required to be true if text could be in languages like Burmese or Tibetan where text is typically much taller or deeper than Latin text.

Java documentation for android.widget.TextView.setFallbackLineSpacing(boolean).

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