-
public final class ComposerLinkPreviewThemeRepresents the theming for the link preview in the message composer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classComposerLinkPreviewTheme.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ComponentSizeimageSizeprivate final ShapeimageShapeprivate final DpimagePaddingprivate final ComponentSizeseparatorSizeprivate final DpseparatorMarginStartprivate final DpseparatorMarginEndprivate final TextComponentStyletitleprivate final DptitleToSubtitleprivate final TextComponentStylesubtitleprivate final ComposerCancelIconStylecancelIcon
-
Constructor Summary
Constructors Constructor Description ComposerLinkPreviewTheme(ComponentSize imageSize, Shape imageShape, Dp imagePadding, ComponentSize separatorSize, Dp separatorMarginStart, Dp separatorMarginEnd, TextComponentStyle title, Dp titleToSubtitle, TextComponentStyle subtitle, ComposerCancelIconStyle cancelIcon)
-
Method Summary
Modifier and Type Method Description final ComponentSizegetImageSize()final ShapegetImageShape()final DpgetImagePadding()final ComponentSizegetSeparatorSize()final DpgetSeparatorMarginStart()final DpgetSeparatorMarginEnd()final TextComponentStylegetTitle()final DpgetTitleToSubtitle()final TextComponentStylegetSubtitle()final ComposerCancelIconStylegetCancelIcon()-
-
Constructor Detail
-
ComposerLinkPreviewTheme
ComposerLinkPreviewTheme(ComponentSize imageSize, Shape imageShape, Dp imagePadding, ComponentSize separatorSize, Dp separatorMarginStart, Dp separatorMarginEnd, TextComponentStyle title, Dp titleToSubtitle, TextComponentStyle subtitle, ComposerCancelIconStyle cancelIcon)
- Parameters:
imageSize- The size of the image in the link preview.imageShape- The shape of the image in the link preview.imagePadding- The padding for the image in the link preview.separatorSize- The size of the separator in the link preview.separatorMarginStart- The start margin for the separator in the link preview.separatorMarginEnd- The end margin for the separator in the link preview.title- The theming for the title in the link preview.titleToSubtitle- The vertical space between the title and the subtitle in the link preview.subtitle- The theming for the subtitle in the link preview.cancelIcon- The theming for the cancel icon in the link preview.
-
-
Method Detail
-
getImageSize
final ComponentSize getImageSize()
-
getImageShape
final Shape getImageShape()
-
getImagePadding
final Dp getImagePadding()
-
getSeparatorSize
final ComponentSize getSeparatorSize()
-
getSeparatorMarginStart
final Dp getSeparatorMarginStart()
-
getSeparatorMarginEnd
final Dp getSeparatorMarginEnd()
-
getTitle
final TextComponentStyle getTitle()
-
getTitleToSubtitle
final Dp getTitleToSubtitle()
-
getSubtitle
final TextComponentStyle getSubtitle()
-
getCancelIcon
final ComposerCancelIconStyle getCancelIcon()
-
-
-
-