Share via


FontsContract.Columns.Weight Field

Definition

Constant used to request data from a font provider.

[Android.Runtime.Register("WEIGHT", ApiSince=26)]
public const string Weight;
[<Android.Runtime.Register("WEIGHT", ApiSince=26)>]
val mutable Weight : string

Field Value

Attributes

Remarks

Constant used to request data from a font provider. The cursor returned from the query should have this column populated with the int weight for the resulting font. This value should be between 100 and 900. The most common values are 400 for regular weight and 700 for bold weight.

Java documentation for android.provider.FontsContract.Columns.WEIGHT.

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