BlazeWidgetItemTextStyle - Android
The BlazeWidgetItemTitleTextStyle class defines the style settings for the title of a BlazeWidgetItemStyle. This includes properties such as font, letter spacing, text color, line height, number of lines, and alignment.
Properties
fontResId
var fontResId: Int?A resource id representing the path of the font.
letterSpacing
var letterSpacing: Float?A Float representing the letter spacing for the title.
textColor
var textColor: IntA Int representing the text color of the title.
textSize
var textSize: IntA Float representing the text size of the title.
lineHeight
var lineHeight: Int?A Int representing the line height of the title.
This property is available only to Android versions that are equals or greater than 29 (Q). For lower API versions - no-op.
maxLines
var maxLines: IntAn Int representing the number of max lines for the title.
gravity
var gravity: IntAn Int representing the alignment of the title.
Updated 11 days ago
Did this page help you?
