MessageListItemStyle
data class MessageListItemStyle(@ColorInt() messageBackgroundColorMine: Int?, @ColorInt() messageBackgroundColorTheirs: Int?, @ColorInt() messageLinkTextColorMine: Int?, @ColorInt() messageLinkTextColorTheirs: Int?, @ColorInt() messageLinkBackgroundColorMine: Int, @ColorInt() messageLinkBackgroundColorTheirs: Int, linkDescriptionMaxLines: Int, textStyleMine: TextStyle, textStyleTheirs: TextStyle, textStyleUserName: TextStyle, textStyleMessageDate: TextStyle, textStyleThreadCounter: TextStyle, threadSeparatorTextStyle: TextStyle, textStyleLinkLabel: TextStyle, textStyleLinkTitle: TextStyle, textStyleLinkDescription: TextStyle, @ColorInt() dateSeparatorBackgroundColor: Int, textStyleDateSeparator: TextStyle, reactionsViewStyle: ViewReactionsViewStyle, editReactionsViewStyle: EditReactionsViewStyle, iconIndicatorSent: Drawable, iconIndicatorRead: Drawable, iconIndicatorPendingSync: Drawable, iconOnlyVisibleToYou: Drawable, textStyleMessageDeleted: TextStyle, @ColorInt() messageDeletedBackground: Int, @ColorInt() messageStrokeColorMine: Int, @Px() messageStrokeWidthMine: Float, @ColorInt() messageStrokeColorTheirs: Int, @Px() messageStrokeWidthTheirs: Float, textStyleSystemMessage: TextStyle, textStyleErrorMessage: TextStyle, pinnedMessageIndicatorTextStyle: TextStyle, pinnedMessageIndicatorIcon: Drawable, @ColorInt() pinnedMessageBackgroundColor: Int, @Px() messageStartMargin: Int, @Px() messageEndMargin: Int, messageMaxWidthFactorMine: Float, messageMaxWidthFactorTheirs: Float, showMessageDeliveryStatusIndicator: Boolean, iconFailedMessage: Drawable, iconBannedMessage: Drawable)
Content copied to clipboard
Style for view holders used inside MessageListView. Use this class together with TransformStyle.messageListItemStyleTransformer to change styles programmatically.
Constructors
MessageListItemStyle
Link copied to clipboard
fun MessageListItemStyle(@ColorInt() messageBackgroundColorMine: Int?, @ColorInt() messageBackgroundColorTheirs: Int?, @ColorInt() messageLinkTextColorMine: Int?, @ColorInt() messageLinkTextColorTheirs: Int?, @ColorInt() messageLinkBackgroundColorMine: Int, @ColorInt() messageLinkBackgroundColorTheirs: Int, linkDescriptionMaxLines: Int, textStyleMine: TextStyle, textStyleTheirs: TextStyle, textStyleUserName: TextStyle, textStyleMessageDate: TextStyle, textStyleThreadCounter: TextStyle, threadSeparatorTextStyle: TextStyle, textStyleLinkLabel: TextStyle, textStyleLinkTitle: TextStyle, textStyleLinkDescription: TextStyle, @ColorInt() dateSeparatorBackgroundColor: Int, textStyleDateSeparator: TextStyle, reactionsViewStyle: ViewReactionsViewStyle, editReactionsViewStyle: EditReactionsViewStyle, iconIndicatorSent: Drawable, iconIndicatorRead: Drawable, iconIndicatorPendingSync: Drawable, iconOnlyVisibleToYou: Drawable, textStyleMessageDeleted: TextStyle, @ColorInt() messageDeletedBackground: Int, @ColorInt() messageStrokeColorMine: Int, @Px() messageStrokeWidthMine: Float, @ColorInt() messageStrokeColorTheirs: Int, @Px() messageStrokeWidthTheirs: Float, textStyleSystemMessage: TextStyle, textStyleErrorMessage: TextStyle, pinnedMessageIndicatorTextStyle: TextStyle, pinnedMessageIndicatorIcon: Drawable, @ColorInt() pinnedMessageBackgroundColor: Int, @Px() messageStartMargin: Int, @Px() messageEndMargin: Int, messageMaxWidthFactorMine: Float, messageMaxWidthFactorTheirs: Float, showMessageDeliveryStatusIndicator: Boolean, iconFailedMessage: Drawable, iconBannedMessage: Drawable)
Content copied to clipboard
Properties
dateSeparatorBackgroundColor
Link copied to clipboard
editReactionsViewStyle
Link copied to clipboard
Style for EditReactionsView.
iconBannedMessage
Link copied to clipboard
iconFailedMessage
Link copied to clipboard
iconIndicatorPendingSync
Link copied to clipboard
iconIndicatorRead
Link copied to clipboard
iconIndicatorSent
Link copied to clipboard
iconOnlyVisibleToYou
Link copied to clipboard
linkDescriptionMaxLines
Link copied to clipboard
messageBackgroundColorMine
Link copied to clipboard
messageBackgroundColorTheirs
Link copied to clipboard
messageDeletedBackground
Link copied to clipboard
messageEndMargin
Link copied to clipboard
messageLinkBackgroundColorMine
Link copied to clipboard
messageLinkBackgroundColorTheirs
Link copied to clipboard
messageLinkTextColorMine
Link copied to clipboard
messageLinkTextColorTheirs
Link copied to clipboard
messageMaxWidthFactorMine
Link copied to clipboard
messageMaxWidthFactorTheirs
Link copied to clipboard
messageStartMargin
Link copied to clipboard
messageStrokeColorMine
Link copied to clipboard
messageStrokeColorTheirs
Link copied to clipboard
messageStrokeWidthMine
Link copied to clipboard
messageStrokeWidthTheirs
Link copied to clipboard
pinnedMessageBackgroundColor
Link copied to clipboard
pinnedMessageIndicatorIcon
Link copied to clipboard
pinnedMessageIndicatorTextStyle
Link copied to clipboard
reactionsViewStyle
Link copied to clipboard
Style for ViewReactionsView.
showMessageDeliveryStatusIndicator
Link copied to clipboard
textStyleDateSeparator
Link copied to clipboard
textStyleErrorMessage
Link copied to clipboard
textStyleLinkDescription
Link copied to clipboard
textStyleLinkLabel
Link copied to clipboard
textStyleLinkTitle
Link copied to clipboard
textStyleMessageDate
Link copied to clipboard
textStyleMessageDeleted
Link copied to clipboard
textStyleMine
Link copied to clipboard
textStyleSystemMessage
Link copied to clipboard
textStyleTheirs
Link copied to clipboard
textStyleThreadCounter
Link copied to clipboard
textStyleUserName
Link copied to clipboard
threadSeparatorTextStyle
Link copied to clipboard