SingleReactionViewStyle

data class SingleReactionViewStyle(@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 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, val reactionOrientation: Int) : ViewStyle

Style for SingleReactionView. Use this class together with TransformStyle.singleReactionViewStyleTransformer to change SingleReactionView 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.

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 large tail bubble center point.

smallTailBubbleOffset

The x axis offset of the small tail bubble center point

reactionOrientation

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

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 bubbleHeight: Int, @Px bubbleRadius: Int, @Px largeTailBubbleCy: Int, @Px largeTailBubbleRadius: Int, @Px largeTailBubbleOffset: Int, @Px smallTailBubbleCy: Int, @Px smallTailBubbleRadius: Int, @Px smallTailBubbleOffset: Int, reactionOrientation: Int)

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