MessageListItemStyle
Style for view holders used inside MessageListView. Use this class together with TransformStyle.messageListItemStyleTransformer to change styles programmatically.
Constructors
Properties
Background color for data separator. Default value is R.color.stream_ui_overlay_dark.
Style for EditReactionsView.
Icon for message when the current user is banned. Default value is R.drawable.stream_ui_ic_warning.
Icon for message failed status. Default value is R.drawable.stream_ui_ic_warning.
Icon for message's pending status. Default value is R.drawable.stream_ui_ic_clock.
Icon for message's read status. Default value is R.drawable.stream_ui_ic_check_double.
Icon for message's sent status. Default value is R.drawable.stream_ui_ic_check_single.
Icon for message's pending status. Default value is R.drawable.stream_ui_ic_icon_eye_off.
Max lines for link's description. Default value is 5.
Loading more view. Default value is R.layout.stream_ui_message_list_loading_more_view.
Background color for message sent by the current user. Default value is R.color.stream_ui_grey_gainsboro.
Background color for message sent by other user. Default value is R.color.stream_ui_white.
Background color for deleted message. Default value is R.color.stream_ui_grey_whisper.
Background color for mine deleted message. Default value is messageDeletedBackground.
Background color for theirs deleted message. Default value is messageDeletedBackground.
Margin for messages in the right side. Default value is 0dp.
Background color for message with link, sent by the current user. Default value is R.color.stream_ui_blue_alice.
Background color for message with link, sent by other user. Default value is R.color.stream_ui_blue_alice.
Color for links sent by the current user. Default value is R.color.stream_ui_accent_blue.
Color for links sent by other user. Default value is R.color.stream_ui_accent_blue.
Factor used to compute max width for message sent by the current user. Should be in <0.75, 1> range.
Factor used to compute max width for message sent by other user. Should be in <0.75, 1> range.
Margin for messages in the left side. Default value is 48dp.
Stroke color for message sent by the current user. Default value is MESSAGE_STROKE_COLOR_MINE.
Stroke color for message sent by other user. Default value is MESSAGE_STROKE_COLOR_THEIRS.
Stroke width for message sent by the current user. Default value is MESSAGE_STROKE_WIDTH_MINE.
Stroke width for message sent by other user. Default value is MESSAGE_STROKE_WIDTH_THEIRS.
Style for ViewReactionsView.
Flag if we need to show the delivery indicator or not.
Changes the alignment of system messages.
Appearance for date separator text.
Appearance for error message text.
Appearance for link's description text.
Appearance for link.
Appearance for message date text.
Appearance for message deleted text.
Appearance for mine message deleted text. Default value is textStyleMessageDeleted.
Appearance for theirs message deleted text. Default value is textStyleMessageDeleted.
Appearance for message language text.
Appearance for message text sent by the current user.
Appearance for read counter text.
Appearance for system message text.
Appearance for message text sent by other user.
Appearance for thread counter text.
Appearance for user name text.