Język

TextAppearanceInfo.Builder.SetTextStyle(TypefaceStyle) Method

Definition

Set the style (normal, bold, italic, bold|italic) of the text.

[Android.Runtime.Register("setTextStyle", "(I)Landroid/view/inputmethod/TextAppearanceInfo$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.TextAppearanceInfo.Builder SetTextStyle(Android.Graphics.TypefaceStyle textStyle);
[<Android.Runtime.Register("setTextStyle", "(I)Landroid/view/inputmethod/TextAppearanceInfo$Builder;", "", ApiSince=34)>]
member this.SetTextStyle : Android.Graphics.TypefaceStyle -> Android.Views.InputMethods.TextAppearanceInfo.Builder

Parameters

textStyle
TypefaceStyle

Value is one of the following: Typeface.NORMAL; Typeface.BOLD; Typeface.ITALIC; Typeface.BOLD_ITALIC

Returns

Attributes

Remarks

Set the style (normal, bold, italic, bold|italic) of the text.

Android reference for android.view.inputmethod.TextAppearanceInfo.Builder.setTextStyle.

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