ImageOnlyUIStyle

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

Class representing the style for an image-only Adobe Experience Platform UI.

Image Only Card Composeable Layout

Public Properties

Property
Type
Description
cardStyle
AepCardStyle
The style for the card.
imageStyle
AepImageStyle
The style for the image.
dismissButtonStyle
AepIconStyle
The style for the dismiss button.
dismissButtonAlignment
Alignment
The alignment for the dismiss button.

Customization

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

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

Kotlin

val imageOnlyStyle = ImageOnlyUIStyle.Builder()
    .cardStyle(AepCardStyle(modifier = Modifier.width(320.dp)))
    .imageStyle(AepImageStyle(contentScale = ContentScale.Fit))
    .build()