Compartilhar via


TextView.SetIncludeFontPadding(Boolean) Method

Definition

Set whether the TextView includes extra top and bottom padding to make room for accents that go above the normal ascent and descent.

[Android.Runtime.Register("setIncludeFontPadding", "(Z)V", "GetSetIncludeFontPadding_ZHandler")]
public virtual void SetIncludeFontPadding (bool includepad);
[<Android.Runtime.Register("setIncludeFontPadding", "(Z)V", "GetSetIncludeFontPadding_ZHandler")>]
abstract member SetIncludeFontPadding : bool -> unit
override this.SetIncludeFontPadding : bool -> unit

Parameters

includepad
Boolean
Attributes

Remarks

Set whether the TextView includes extra top and bottom padding to make room for accents that go above the normal ascent and descent. The default is true.

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

See also