LargeImageUIStyle

data-variant=info
data-slots=text
LargeImageUIStyle is only available in AEP SDK BOM version 3.15.0+.

Class representing the style for a large image Adobe Experience Platform UI.

Large Image Card Composeable Layout

Public Properties

Property
Type
Description
cardStyle
AepCardStyle
The style for the card.
rootColumnStyle
AepColumnStyle
The style for the root column.
imageStyle
AepImageStyle
The style for the image.
textColumnStyle
AepColumnStyle
The style for the column containing the title, body and buttons.
titleTextStyle
AepTextStyle
The text style for the title.
bodyTextStyle
AepTextStyle
The text style for the body.
buttonRowStyle
AepRowStyle
The style for the row containing the buttons.
buttonStyle
Array<AepButtonStyle>
The style for the buttons.
dismissButtonStyle
AepIconStyle
The style for the dismiss button.
dismissButtonAlignment
Alignment
The alignment for the dismiss button.

Customization

The LargeImageUIStyle is created using a builder. Here's an example:

data-slots=heading, code
data-repeat=1
data-languages=Kotlin

Kotlin

val largeImageStyle = LargeImageUIStyle.Builder()
    .cardStyle(AepCardStyle(modifier = Modifier.width(420.dp)))
    .imageStyle(AepImageStyle(contentScale = ContentScale.Fit))
    .titleAepTextStyle(AepTextStyle())
    .bodyAepTextStyle(AepTextStyle())
    .buttonRowStyle(AepRowStyle())
    .build()