Class SingleReactionViewStyle
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class SingleReactionViewStyle implements ViewStyle
Style for SingleReactionView. Use this class together with TransformStyle.singleReactionViewStyleTransformer to change SingleReactionView 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 IntegerbubbleHeightprivate final IntegerbubbleRadiusprivate final IntegerlargeTailBubbleCyprivate final IntegerlargeTailBubbleRadiusprivate final IntegerlargeTailBubbleOffsetprivate final IntegersmallTailBubbleCyprivate final IntegersmallTailBubbleRadiusprivate final IntegersmallTailBubbleOffsetprivate final IntegerreactionOrientation
-
Constructor Summary
Constructors Constructor Description SingleReactionViewStyle(Integer bubbleBorderColorMine, Integer bubbleBorderColorTheirs, Integer bubbleColorMine, Integer bubbleColorTheirs, Float bubbleBorderWidthMine, Float bubbleBorderWidthTheirs, Integer totalHeight, Integer bubbleHeight, Integer bubbleRadius, Integer largeTailBubbleCy, Integer largeTailBubbleRadius, Integer largeTailBubbleOffset, Integer smallTailBubbleCy, Integer smallTailBubbleRadius, Integer smallTailBubbleOffset, Integer reactionOrientation)
-
Method Summary
Modifier and Type Method Description final IntegergetBubbleBorderColorMine()final IntegergetBubbleBorderColorTheirs()final IntegergetBubbleColorMine()final IntegergetBubbleColorTheirs()final FloatgetBubbleBorderWidthMine()final FloatgetBubbleBorderWidthTheirs()final IntegergetTotalHeight()final IntegergetBubbleHeight()final IntegergetBubbleRadius()final IntegergetLargeTailBubbleCy()final IntegergetLargeTailBubbleRadius()final IntegergetLargeTailBubbleOffset()final IntegergetSmallTailBubbleCy()final IntegergetSmallTailBubbleRadius()final IntegergetSmallTailBubbleOffset()final IntegergetReactionOrientation()-
-
Constructor Detail
-
SingleReactionViewStyle
SingleReactionViewStyle(Integer bubbleBorderColorMine, Integer bubbleBorderColorTheirs, Integer bubbleColorMine, Integer bubbleColorTheirs, Float bubbleBorderWidthMine, Float bubbleBorderWidthTheirs, Integer totalHeight, Integer bubbleHeight, Integer bubbleRadius, Integer largeTailBubbleCy, Integer largeTailBubbleRadius, Integer largeTailBubbleOffset, Integer smallTailBubbleCy, Integer smallTailBubbleRadius, Integer smallTailBubbleOffset, Integer reactionOrientation)
- 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 pointreactionOrientation- The orientation of the bubble.
-
-
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()
-
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()
-
getReactionOrientation
final Integer getReactionOrientation()
-
-
-
-