SmallImageUIStyle
Class representing the style for a small image Adobe Experience Platform UI.
Public Properties
Property | Type | Description |
---|---|---|
cardStyle | The style for the card. | |
rootRowStyle | The style for the root row. | |
imageStyle | The style for the image. | |
textColumnStyle | The style for the column containing the title, body, and buttons. | |
titleTextStyle | The text style for the title. | |
bodyTextStyle | The text style for the body. | |
buttonRowStyle | The style for the row containing the buttons. | |
buttonStyle | Array<Pair<AepButtonStyle, AepTextStyle>> | The style for the buttons. |
dismissButtonStyle | The style for the dismiss button. | |
dismissButtonAlignment | The alignment for the dismiss button. |
Customization
The SmallImageUIStyle
is created using a builder. Here's an example:
Kotlin
Copied to your clipboardval smallImageCardStyleRow = SmallImageUIStyle.Builder().cardStyle(AepCardStyle(modifier = Modifier.width(400.dp).height(200.dp))).rootRowStyle(AepRowStyle(modifier = Modifier.fillMaxSize())).titleAepTextStyle(AepTextStyle(textStyle = TextStyle(Color.Green))).build()