-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class MessageListItemStyle implements ViewStyle
Style for view holders used inside MessageListView. Use this class together with TransformStyle.messageListItemStyleTransformer to change styles programmatically.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MessageListItemStyle(Integer messageBackgroundColorMine, Integer messageBackgroundColorTheirs, Integer messageLinkTextColorMine, Integer messageLinkTextColorTheirs, Integer messageLinkBackgroundColorMine, Integer messageLinkBackgroundColorTheirs, Integer linkDescriptionMaxLines, TextStyle textStyleMine, TextStyle textStyleTheirs, TextStyle textStyleUserName, TextStyle textStyleMessageDate, TextStyle textStyleMessageLanguage, TextStyle textStyleThreadCounter, TextStyle textStyleReadCounter, TextStyle threadSeparatorTextStyle, TextStyle textStyleLinkLabel, TextStyle textStyleLinkTitle, TextStyle textStyleLinkDescription, Integer dateSeparatorBackgroundColor, TextStyle textStyleDateSeparator, ViewReactionsViewStyle reactionsViewStyle, EditReactionsViewStyle editReactionsViewStyle, Drawable iconIndicatorSent, Drawable iconIndicatorDelivered, Drawable iconIndicatorRead, Drawable iconIndicatorPendingSync, Drawable iconOnlyVisibleToYou, TextStyle textStyleMessageDeletedMine, Integer messageDeletedBackgroundMine, TextStyle textStyleMessageDeletedTheirs, Integer messageDeletedBackgroundTheirs, Integer messageStrokeColorMine, Float messageStrokeWidthMine, Integer messageStrokeColorTheirs, Float messageStrokeWidthTheirs, TextStyle textStyleSystemMessage, TextStyle textStyleErrorMessage, TextStyle pinnedMessageIndicatorTextStyle, Drawable pinnedMessageIndicatorIcon, Integer pinnedMessageBackgroundColor, Integer messageStartMargin, Integer messageEndMargin, Float messageMaxWidthFactorMine, Float messageMaxWidthFactorTheirs, Boolean showMessageDeliveryStatusIndicator, Drawable iconFailedMessage, Drawable iconBannedMessage, Integer systemMessageAlignment, Integer loadingMoreView, Integer unreadSeparatorBackgroundColor, TextStyle unreadSeparatorTextStyle)
-
Method Summary
-
-
Constructor Detail
-
MessageListItemStyle
MessageListItemStyle(Integer messageBackgroundColorMine, Integer messageBackgroundColorTheirs, Integer messageLinkTextColorMine, Integer messageLinkTextColorTheirs, Integer messageLinkBackgroundColorMine, Integer messageLinkBackgroundColorTheirs, Integer linkDescriptionMaxLines, TextStyle textStyleMine, TextStyle textStyleTheirs, TextStyle textStyleUserName, TextStyle textStyleMessageDate, TextStyle textStyleMessageLanguage, TextStyle textStyleThreadCounter, TextStyle textStyleReadCounter, TextStyle threadSeparatorTextStyle, TextStyle textStyleLinkLabel, TextStyle textStyleLinkTitle, TextStyle textStyleLinkDescription, Integer dateSeparatorBackgroundColor, TextStyle textStyleDateSeparator, ViewReactionsViewStyle reactionsViewStyle, EditReactionsViewStyle editReactionsViewStyle, Drawable iconIndicatorSent, Drawable iconIndicatorDelivered, Drawable iconIndicatorRead, Drawable iconIndicatorPendingSync, Drawable iconOnlyVisibleToYou, TextStyle textStyleMessageDeletedMine, Integer messageDeletedBackgroundMine, TextStyle textStyleMessageDeletedTheirs, Integer messageDeletedBackgroundTheirs, Integer messageStrokeColorMine, Float messageStrokeWidthMine, Integer messageStrokeColorTheirs, Float messageStrokeWidthTheirs, TextStyle textStyleSystemMessage, TextStyle textStyleErrorMessage, TextStyle pinnedMessageIndicatorTextStyle, Drawable pinnedMessageIndicatorIcon, Integer pinnedMessageBackgroundColor, Integer messageStartMargin, Integer messageEndMargin, Float messageMaxWidthFactorMine, Float messageMaxWidthFactorTheirs, Boolean showMessageDeliveryStatusIndicator, Drawable iconFailedMessage, Drawable iconBannedMessage, Integer systemMessageAlignment, Integer loadingMoreView, Integer unreadSeparatorBackgroundColor, TextStyle unreadSeparatorTextStyle)
-
-
Method Detail
-
getMessageBackgroundColorMine
final Integer getMessageBackgroundColorMine()
-
getMessageBackgroundColorTheirs
final Integer getMessageBackgroundColorTheirs()
-
getMessageLinkTextColorMine
final Integer getMessageLinkTextColorMine()
-
getMessageLinkTextColorTheirs
final Integer getMessageLinkTextColorTheirs()
-
getMessageLinkBackgroundColorMine
final Integer getMessageLinkBackgroundColorMine()
-
getMessageLinkBackgroundColorTheirs
final Integer getMessageLinkBackgroundColorTheirs()
-
getLinkDescriptionMaxLines
final Integer getLinkDescriptionMaxLines()
-
getTextStyleMine
final TextStyle getTextStyleMine()
-
getTextStyleTheirs
final TextStyle getTextStyleTheirs()
-
getTextStyleUserName
final TextStyle getTextStyleUserName()
-
getTextStyleMessageDate
final TextStyle getTextStyleMessageDate()
-
getTextStyleMessageLanguage
final TextStyle getTextStyleMessageLanguage()
-
getTextStyleThreadCounter
final TextStyle getTextStyleThreadCounter()
-
getTextStyleReadCounter
final TextStyle getTextStyleReadCounter()
-
getThreadSeparatorTextStyle
final TextStyle getThreadSeparatorTextStyle()
-
getTextStyleLinkLabel
final TextStyle getTextStyleLinkLabel()
-
getTextStyleLinkTitle
final TextStyle getTextStyleLinkTitle()
-
getTextStyleLinkDescription
final TextStyle getTextStyleLinkDescription()
-
getDateSeparatorBackgroundColor
final Integer getDateSeparatorBackgroundColor()
-
getTextStyleDateSeparator
final TextStyle getTextStyleDateSeparator()
-
getReactionsViewStyle
final ViewReactionsViewStyle getReactionsViewStyle()
-
getEditReactionsViewStyle
final EditReactionsViewStyle getEditReactionsViewStyle()
-
getIconIndicatorSent
final Drawable getIconIndicatorSent()
-
getIconIndicatorDelivered
final Drawable getIconIndicatorDelivered()
-
getIconIndicatorRead
final Drawable getIconIndicatorRead()
-
getIconIndicatorPendingSync
final Drawable getIconIndicatorPendingSync()
-
getIconOnlyVisibleToYou
final Drawable getIconOnlyVisibleToYou()
-
getTextStyleMessageDeletedMine
final TextStyle getTextStyleMessageDeletedMine()
-
getMessageDeletedBackgroundMine
final Integer getMessageDeletedBackgroundMine()
-
getTextStyleMessageDeletedTheirs
final TextStyle getTextStyleMessageDeletedTheirs()
-
getMessageDeletedBackgroundTheirs
final Integer getMessageDeletedBackgroundTheirs()
-
getMessageStrokeColorMine
final Integer getMessageStrokeColorMine()
-
getMessageStrokeWidthMine
final Float getMessageStrokeWidthMine()
-
getMessageStrokeColorTheirs
final Integer getMessageStrokeColorTheirs()
-
getMessageStrokeWidthTheirs
final Float getMessageStrokeWidthTheirs()
-
getTextStyleSystemMessage
final TextStyle getTextStyleSystemMessage()
-
getTextStyleErrorMessage
final TextStyle getTextStyleErrorMessage()
-
getPinnedMessageIndicatorTextStyle
final TextStyle getPinnedMessageIndicatorTextStyle()
-
getPinnedMessageIndicatorIcon
final Drawable getPinnedMessageIndicatorIcon()
-
getPinnedMessageBackgroundColor
final Integer getPinnedMessageBackgroundColor()
-
getMessageStartMargin
final Integer getMessageStartMargin()
-
getMessageEndMargin
final Integer getMessageEndMargin()
-
getMessageMaxWidthFactorMine
final Float getMessageMaxWidthFactorMine()
-
getMessageMaxWidthFactorTheirs
final Float getMessageMaxWidthFactorTheirs()
-
getShowMessageDeliveryStatusIndicator
final Boolean getShowMessageDeliveryStatusIndicator()
-
getIconFailedMessage
final Drawable getIconFailedMessage()
-
getIconBannedMessage
final Drawable getIconBannedMessage()
-
getSystemMessageAlignment
final Integer getSystemMessageAlignment()
-
getLoadingMoreView
final Integer getLoadingMoreView()
-
getUnreadSeparatorBackgroundColor
final Integer getUnreadSeparatorBackgroundColor()
-
getUnreadSeparatorTextStyle
final TextStyle getUnreadSeparatorTextStyle()
-
getStyleTextColor
@ColorInt() final Integer getStyleTextColor(Boolean isMine)
-
getStyleLinkTextColor
@ColorInt() final Integer getStyleLinkTextColor(Boolean isMine)
-
-
-
-