Język

TextAppearanceInfo.Builder.SetTextFontWeight(Int32) Method

Definition

Set the weight of the text.

[Android.Runtime.Register("setTextFontWeight", "(I)Landroid/view/inputmethod/TextAppearanceInfo$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.TextAppearanceInfo.Builder SetTextFontWeight(int textFontWeight);
[<Android.Runtime.Register("setTextFontWeight", "(I)Landroid/view/inputmethod/TextAppearanceInfo$Builder;", "", ApiSince=34)>]
member this.SetTextFontWeight : int -> Android.Views.InputMethods.TextAppearanceInfo.Builder

Parameters

textFontWeight
Int32

Value is between FontStyle.FONT_WEIGHT_UNSPECIFIED and FontStyle.FONT_WEIGHT_MAX inclusive

Returns

Attributes

Remarks

Set the weight of the text.

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

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