GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeWidgetItemDurationElementStateStyle - Android

The BlazeWidgetItemDurationElementStateStyle class represents the configuration for the duration element of a widget item, for a specific state.

Properties

textStyle

var textStyle: BlazeWidgetItemTextStyle

The text style of the duration element in the current state.

isVisible

var isVisible: Boolean

The visibility of the duration element in the current state.

backgroundColor

var backgroundColor: Int

The background color of the duration element in the current state.

backgroundImageResId

var backgroundImageResId: Int?

The path to the background image of the duration element in the current state.

cornerRadius

var cornerRadius: BlazeDp

The corner radius of the duration element in the current state.

textStyle

var textStyle: BlazeWidgetItemTextStyle

The text style of the duration element in the current state.

cornerRadiusRatio

var cornerRadiusRatio: Float

The corner radius ratio of the duration element in the current state.

borderColor

var borderColor: Int

The border color of the duration element in the current state.

borderWidth

var borderWidth: BlazeDp

The border width of the duration element in the current state.


Did this page help you?