Language

DynamicLayout.Builder.SetIncludePad(Boolean) Method

Definition

Set whether to include extra space beyond font ascent and descent (which is needed to avoid clipping in some languages, such as Arabic and Kannada).

[Android.Runtime.Register("setIncludePad", "(Z)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder SetIncludePad(bool includePad);
[<Android.Runtime.Register("setIncludePad", "(Z)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetIncludePad : bool -> Android.Text.DynamicLayout.Builder

Parameters

includePad
Boolean

whether to include padding

Returns

this builder, useful for chaining. This value cannot be null.

Attributes

Remarks

Set whether to include extra space beyond font ascent and descent (which is needed to avoid clipping in some languages, such as Arabic and Kannada). The default is true.

Android reference for android.text.DynamicLayout.Builder.setIncludePad.

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