共用方式為


Configuration.FontWeightAdjustment Property

Definition

Adjustment in text font weight.

[Android.Runtime.Register("fontWeightAdjustment", ApiSince=31)]
public int FontWeightAdjustment { get; set; }
[<Android.Runtime.Register("fontWeightAdjustment", ApiSince=31)>]
member this.FontWeightAdjustment : int with get, set

Property Value

Attributes

Remarks

Adjustment in text font weight. Used to reflect the current user preference for increasing font weight.

If the text font weight is less than the minimum of 1, 1 will be used. If the font weight exceeds the maximum of 1000, 1000 will be used.

Java documentation for android.content.res.Configuration.fontWeightAdjustment.

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