ViewReactionsViewStyle

data class ViewReactionsViewStyle(@ColorInt val bubbleBorderColorMine: Int, @ColorInt val bubbleBorderColorTheirs: Int?, @ColorInt val bubbleColorMine: Int, @ColorInt val bubbleColorTheirs: Int, @Px val bubbleBorderWidthMine: Float, @Px val bubbleBorderWidthTheirs: Float?, @Px val totalHeight: Int, @Px val horizontalPadding: Int, @Px val itemSize: Int, @Px val bubbleHeight: Int, @Px val bubbleRadius: Int, @Px val largeTailBubbleCy: Int, @Px val largeTailBubbleRadius: Int, @Px val largeTailBubbleOffset: Int, @Px val smallTailBubbleCy: Int, @Px val smallTailBubbleRadius: Int, @Px val smallTailBubbleOffset: Int, @Px val verticalPadding: Int, val messageOptionsUserReactionOrientation: Int, val reactionSorting: ReactionSorting) : ViewStyle

Style for ViewReactionsView. Use this class together with TransformStyle.viewReactionsStyleTransformer to change ViewReactionsView styles programmatically.

Parameters

bubbleBorderColorMine

Reaction bubble border color for the current user.

bubbleBorderColorTheirs

Reaction bubble border color for other users.

bubbleColorMine

Reaction bubble color for the current user.

bubbleColorTheirs

Reaction bubble color for other users.

bubbleBorderWidthMine

Reaction bubble border width for the current user.

bubbleBorderWidthTheirs

Reaction bubble border width for other users.

totalHeight

The total height of the reaction bubble.

horizontalPadding

The horizontal padding to be applied to the start and end of the bubble.

itemSize

The size of the reaction item.

bubbleHeight

Height of the reactions part of the bubble.

bubbleRadius

The radius of the reactions part of the bubble.

largeTailBubbleCy

The y axis position of the large tail bubble center point.

largeTailBubbleRadius

The radius of the large tail bubble.

largeTailBubbleOffset

The x axis offset of the large tail bubble center point.

smallTailBubbleCy

The y axis position of the small tail bubble center point.

smallTailBubbleOffset

The x axis offset of the small tail bubble center point.

verticalPadding

The vertical padding to be applied to top and bottom of the view.

messageOptionsUserReactionOrientation

The orientation of the bubble. By default is MessageOptionsUserReactionOrientation.BY_USER

reactionSorting

The sorting of the reactions. By default is ReactionSortingByFirstReactionAt

Constructors

Link copied to clipboard
constructor(@ColorInt bubbleBorderColorMine: Int, @ColorInt bubbleBorderColorTheirs: Int?, @ColorInt bubbleColorMine: Int, @ColorInt bubbleColorTheirs: Int, @Px bubbleBorderWidthMine: Float, @Px bubbleBorderWidthTheirs: Float?, @Px totalHeight: Int, @Px horizontalPadding: Int, @Px itemSize: Int, @Px bubbleHeight: Int, @Px bubbleRadius: Int, @Px largeTailBubbleCy: Int, @Px largeTailBubbleRadius: Int, @Px largeTailBubbleOffset: Int, @Px smallTailBubbleCy: Int, @Px smallTailBubbleRadius: Int, @Px smallTailBubbleOffset: Int, @Px verticalPadding: Int, messageOptionsUserReactionOrientation: Int, reactionSorting: ReactionSorting)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard