Share via


TextView.LocalePreferredLineHeightForMinimumUsed Property

Definition

Returns true if the locale preferred line height is used for the minimum line height. -or- Set true if the locale preferred line height is used for the minimum line height.

public virtual bool LocalePreferredLineHeightForMinimumUsed { [Android.Runtime.Register("isLocalePreferredLineHeightForMinimumUsed", "()Z", "GetIsLocalePreferredLineHeightForMinimumUsedHandler", ApiSince=35)] get; [Android.Runtime.Register("setLocalePreferredLineHeightForMinimumUsed", "(Z)V", "GetSetLocalePreferredLineHeightForMinimumUsed_ZHandler", ApiSince=35)] set; }
[<get: Android.Runtime.Register("isLocalePreferredLineHeightForMinimumUsed", "()Z", "GetIsLocalePreferredLineHeightForMinimumUsedHandler", ApiSince=35)>]
[<set: Android.Runtime.Register("setLocalePreferredLineHeightForMinimumUsed", "(Z)V", "GetSetLocalePreferredLineHeightForMinimumUsed_ZHandler", ApiSince=35)>]
member this.LocalePreferredLineHeightForMinimumUsed : bool with get, set

Property Value

true if using locale preferred line height for the minimum line height. Otherwise false.

Attributes

Remarks

Property getter documentation:

Returns true if the locale preferred line height is used for the minimum line height.

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

Property setter documentation:

Set true if the locale preferred line height is used for the minimum line height.

By setting this flag to true is equivalenet to call #setMinimumFontMetrics(Paint.FontMetrics) with the one obtained by Paint#getFontMetricsForLocale(Paint.FontMetrics).

If custom minimum line height was specified by #setMinimumFontMetrics(Paint.FontMetrics), this flag will be ignored.

Java documentation for android.widget.TextView.setLocalePreferredLineHeightForMinimumUsed(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