Class ViewReactionsViewStyle
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class ViewReactionsViewStyle implements ViewStyle
Style for ViewReactionsView. Use this class together with TransformStyle.viewReactionsStyleTransformer to change ViewReactionsView styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerbubbleBorderColorMineprivate final IntegerbubbleBorderColorTheirsprivate final IntegerbubbleColorMineprivate final IntegerbubbleColorTheirsprivate final FloatbubbleBorderWidthMineprivate final FloatbubbleBorderWidthTheirsprivate final IntegertotalHeightprivate final IntegerhorizontalPaddingprivate final IntegeritemSizeprivate final IntegerbubbleHeightprivate final IntegerbubbleRadiusprivate final IntegerlargeTailBubbleCyprivate final IntegerlargeTailBubbleRadiusprivate final IntegerlargeTailBubbleOffsetprivate final IntegersmallTailBubbleCyprivate final IntegersmallTailBubbleRadiusprivate final IntegersmallTailBubbleOffsetprivate final IntegerverticalPaddingprivate final IntegermessageOptionsUserReactionOrientationprivate final ReactionSortingreactionSorting
-
Constructor Summary
Constructors Constructor Description ViewReactionsViewStyle(Integer bubbleBorderColorMine, Integer bubbleBorderColorTheirs, Integer bubbleColorMine, Integer bubbleColorTheirs, Float bubbleBorderWidthMine, Float bubbleBorderWidthTheirs, Integer totalHeight, Integer horizontalPadding, Integer itemSize, Integer bubbleHeight, Integer bubbleRadius, Integer largeTailBubbleCy, Integer largeTailBubbleRadius, Integer largeTailBubbleOffset, Integer smallTailBubbleCy, Integer smallTailBubbleRadius, Integer smallTailBubbleOffset, Integer verticalPadding, Integer messageOptionsUserReactionOrientation, ReactionSorting reactionSorting)
-
Method Summary
Modifier and Type Method Description final IntegergetBubbleBorderColorMine()final IntegergetBubbleBorderColorTheirs()final IntegergetBubbleColorMine()final IntegergetBubbleColorTheirs()final FloatgetBubbleBorderWidthMine()final FloatgetBubbleBorderWidthTheirs()final IntegergetTotalHeight()final IntegergetHorizontalPadding()final IntegergetItemSize()final IntegergetBubbleHeight()final IntegergetBubbleRadius()final IntegergetLargeTailBubbleCy()final IntegergetLargeTailBubbleRadius()final IntegergetLargeTailBubbleOffset()final IntegergetSmallTailBubbleCy()final IntegergetSmallTailBubbleRadius()final IntegergetSmallTailBubbleOffset()final IntegergetVerticalPadding()final IntegergetMessageOptionsUserReactionOrientation()final ReactionSortinggetReactionSorting()-
-
Constructor Detail
-
ViewReactionsViewStyle
ViewReactionsViewStyle(Integer bubbleBorderColorMine, Integer bubbleBorderColorTheirs, Integer bubbleColorMine, Integer bubbleColorTheirs, Float bubbleBorderWidthMine, Float bubbleBorderWidthTheirs, Integer totalHeight, Integer horizontalPadding, Integer itemSize, Integer bubbleHeight, Integer bubbleRadius, Integer largeTailBubbleCy, Integer largeTailBubbleRadius, Integer largeTailBubbleOffset, Integer smallTailBubbleCy, Integer smallTailBubbleRadius, Integer smallTailBubbleOffset, Integer verticalPadding, Integer messageOptionsUserReactionOrientation, ReactionSorting reactionSorting)
- 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.reactionSorting- The sorting of the reactions.
-
-
Method Detail
-
getBubbleBorderColorMine
final Integer getBubbleBorderColorMine()
-
getBubbleBorderColorTheirs
final Integer getBubbleBorderColorTheirs()
-
getBubbleColorMine
final Integer getBubbleColorMine()
-
getBubbleColorTheirs
final Integer getBubbleColorTheirs()
-
getBubbleBorderWidthMine
final Float getBubbleBorderWidthMine()
-
getBubbleBorderWidthTheirs
final Float getBubbleBorderWidthTheirs()
-
getTotalHeight
final Integer getTotalHeight()
-
getHorizontalPadding
final Integer getHorizontalPadding()
-
getItemSize
final Integer getItemSize()
-
getBubbleHeight
final Integer getBubbleHeight()
-
getBubbleRadius
final Integer getBubbleRadius()
-
getLargeTailBubbleCy
final Integer getLargeTailBubbleCy()
-
getLargeTailBubbleRadius
final Integer getLargeTailBubbleRadius()
-
getLargeTailBubbleOffset
final Integer getLargeTailBubbleOffset()
-
getSmallTailBubbleCy
final Integer getSmallTailBubbleCy()
-
getSmallTailBubbleRadius
final Integer getSmallTailBubbleRadius()
-
getSmallTailBubbleOffset
final Integer getSmallTailBubbleOffset()
-
getVerticalPadding
final Integer getVerticalPadding()
-
getMessageOptionsUserReactionOrientation
final Integer getMessageOptionsUserReactionOrientation()
-
getReactionSorting
final ReactionSorting getReactionSorting()
-
-
-
-