Layout.Builder.SetFontPaddingIncluded(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set whether including extra padding into the first and the last line height.
[Android.Runtime.Register("setFontPaddingIncluded", "(Z)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetFontPaddingIncluded(bool includeFontPadding);
[<Android.Runtime.Register("setFontPaddingIncluded", "(Z)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetFontPaddingIncluded : bool -> Android.Text.Layout.Builder
Parameters
- includeFontPadding
- Boolean
true for including extra space into first and last line.
Returns
this builder instance. This value cannot be null.
- Attributes
Remarks
Set whether including extra padding into the first and the last line height. By setting true, the first line of the text and the last line of the text will have extra vertical space for avoiding clipping. The default value is true.
Android reference for android.text.Layout.Builder.setFontPaddingIncluded.
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.