MessageReplyStyle

data class MessageReplyStyle(@ColorInt val messageBackgroundColorMine: Int, @ColorInt val messageBackgroundColorTheirs: Int, @ColorInt val linkBackgroundColorMine: Int, @ColorInt val linkBackgroundColorTheirs: Int, val textStyleMine: TextStyle, val textStyleTheirs: TextStyle, val linkStyleMine: TextStyle, val linkStyleTheirs: TextStyle, @ColorInt val messageStrokeColorMine: Int, @Px val messageStrokeWidthMine: Float, @ColorInt val messageStrokeColorTheirs: Int, @Px val messageStrokeWidthTheirs: Float) : 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.

Constructors

Link copied to clipboard
constructor(@ColorInt messageBackgroundColorMine: Int, @ColorInt messageBackgroundColorTheirs: Int, @ColorInt linkBackgroundColorMine: Int, @ColorInt linkBackgroundColorTheirs: Int, textStyleMine: TextStyle, textStyleTheirs: TextStyle, linkStyleMine: TextStyle, linkStyleTheirs: TextStyle, @ColorInt messageStrokeColorMine: Int, @Px messageStrokeWidthMine: Float, @ColorInt messageStrokeColorTheirs: Int, @Px messageStrokeWidthTheirs: Float)

Properties

Link copied to clipboard

Background color of links in the message sent by the current user.

Link copied to clipboard

Background color of links in the message sent by the other user.

Link copied to clipboard

Appearance for message link sent by the current user.

Link copied to clipboard

Appearance for message link sent by other users.

Link copied to clipboard

Background color for message sent by the current user. Default value is R.color.stream_ui_grey_gainsboro.

Link copied to clipboard

Background color for message sent by other user. Default value is R.color.stream_ui_white.

Link copied to clipboard

Stroke color for message sent by the current user. Default value is MESSAGE_STROKE_COLOR_MINE.

Link copied to clipboard

Stroke color for message sent by other user. Default value is MESSAGE_STROKE_COLOR_THEIRS.

Link copied to clipboard

Stroke width for message sent by the current user. Default value is MESSAGE_STROKE_WIDTH_MINE.

Link copied to clipboard

Stroke width for message sent by other user. Default value is MESSAGE_STROKE_WIDTH_THEIRS.

Link copied to clipboard

Appearance for message text sent by the current user.

Link copied to clipboard

Appearance for message text sent by other users.