GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeFirstTimeSlideCTAStyle - Android

The BlazeFirstTimeSlideCTAStyle class represents the style configuration for the Call to Action (CTA) button in the first-time slide.

title

var title: String

The title text of the CTA button.

backgroundColor

@ColorRes var backgroundColor: Int

The background color of the CTA button. Note - this is color resource identifier, and not an int color.

textColorResId

@ColorRes var textColorResId: Int

The color of the CTA text. Note - this is color resource identifier, and not an int color.

textSize

var textSize: Float

The size of the text inside the CTA button.

fontResId

@FontRes var fontResId: Int? = null

A resource id representing the path of the font of the text in the CTA button.

cornerRadius

var cornerRadius: BlazeDp

The corner radius of the CTA button.

height

var height: BlazeDp

The height of the CTA button.

width

var width: BlazeDp?

The width of the CTA button. Width == null means the width is set to MATCH_CONSTRAINT.


Did this page help you?