-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class MessageReplyStyle implements ViewStyle
Style for view holders used inside MessageListView allowing to customize message "reply" view. Use this class together with TransformStyle.messageReplyStyleTransformer to change styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanshowUserAvatarprivate final IntegermessageBackgroundColorMineprivate final IntegermessageBackgroundColorTheirsprivate final IntegerlinkBackgroundColorMineprivate final IntegerlinkBackgroundColorTheirsprivate final TextStyletextStyleMineprivate final TextStyletextStyleTheirsprivate final TextStylelinkStyleMineprivate final TextStylelinkStyleTheirsprivate final IntegermessageStrokeColorMineprivate final FloatmessageStrokeWidthMineprivate final IntegermessageStrokeColorTheirsprivate final FloatmessageStrokeWidthTheirs
-
Constructor Summary
Constructors Constructor Description MessageReplyStyle(Boolean showUserAvatar, Integer messageBackgroundColorMine, Integer messageBackgroundColorTheirs, Integer linkBackgroundColorMine, Integer linkBackgroundColorTheirs, TextStyle textStyleMine, TextStyle textStyleTheirs, TextStyle linkStyleMine, TextStyle linkStyleTheirs, Integer messageStrokeColorMine, Float messageStrokeWidthMine, Integer messageStrokeColorTheirs, Float messageStrokeWidthTheirs)
-
Method Summary
Modifier and Type Method Description final BooleangetShowUserAvatar()final IntegergetMessageBackgroundColorMine()final IntegergetMessageBackgroundColorTheirs()final IntegergetLinkBackgroundColorMine()final IntegergetLinkBackgroundColorTheirs()final TextStylegetTextStyleMine()final TextStylegetTextStyleTheirs()final TextStylegetLinkStyleMine()final TextStylegetLinkStyleTheirs()final IntegergetMessageStrokeColorMine()final FloatgetMessageStrokeWidthMine()final IntegergetMessageStrokeColorTheirs()final FloatgetMessageStrokeWidthTheirs()-
-
Constructor Detail
-
MessageReplyStyle
MessageReplyStyle(Boolean showUserAvatar, Integer messageBackgroundColorMine, Integer messageBackgroundColorTheirs, Integer linkBackgroundColorMine, Integer linkBackgroundColorTheirs, TextStyle textStyleMine, TextStyle textStyleTheirs, TextStyle linkStyleMine, TextStyle linkStyleTheirs, Integer messageStrokeColorMine, Float messageStrokeWidthMine, Integer messageStrokeColorTheirs, Float messageStrokeWidthTheirs)
- Parameters:
showUserAvatar- Whether to show user avatar in the reply view.
-
-
Method Detail
-
getShowUserAvatar
final Boolean getShowUserAvatar()
-
getMessageBackgroundColorMine
final Integer getMessageBackgroundColorMine()
-
getMessageBackgroundColorTheirs
final Integer getMessageBackgroundColorTheirs()
-
getLinkBackgroundColorMine
final Integer getLinkBackgroundColorMine()
-
getLinkBackgroundColorTheirs
final Integer getLinkBackgroundColorTheirs()
-
getTextStyleMine
final TextStyle getTextStyleMine()
-
getTextStyleTheirs
final TextStyle getTextStyleTheirs()
-
getLinkStyleMine
final TextStyle getLinkStyleMine()
-
getLinkStyleTheirs
final TextStyle getLinkStyleTheirs()
-
getMessageStrokeColorMine
final Integer getMessageStrokeColorMine()
-
getMessageStrokeWidthMine
final Float getMessageStrokeWidthMine()
-
getMessageStrokeColorTheirs
final Integer getMessageStrokeColorTheirs()
-
getMessageStrokeWidthTheirs
final Float getMessageStrokeWidthTheirs()
-
-
-
-