TextAppearanceInfo.Builder.SetTextFontWeight(Int32) 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 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.