Class GiphyViewHolderStyle
-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class GiphyViewHolderStyle implements ViewStyle
Style for GiphyViewHolder. Use this class together with TransformStyle.giphyViewHolderStyleTransformer to change styles programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegercardBackgroundColorprivate final FloatcardElevationprivate final IntegercardButtonDividerColorprivate final DrawablegiphyIconprivate final TextStylelabelTextStyleprivate final TextStylequeryTextStyleprivate final TextStylecancelButtonTextStyleprivate final TextStyleshuffleButtonTextStyleprivate final TextStylesendButtonTextStyle
-
Constructor Summary
Constructors Constructor Description GiphyViewHolderStyle(Integer cardBackgroundColor, Float cardElevation, Integer cardButtonDividerColor, Drawable giphyIcon, TextStyle labelTextStyle, TextStyle queryTextStyle, TextStyle cancelButtonTextStyle, TextStyle shuffleButtonTextStyle, TextStyle sendButtonTextStyle)
-
Method Summary
Modifier and Type Method Description final IntegergetCardBackgroundColor()final FloatgetCardElevation()final IntegergetCardButtonDividerColor()final DrawablegetGiphyIcon()final TextStylegetLabelTextStyle()final TextStylegetQueryTextStyle()final TextStylegetCancelButtonTextStyle()final TextStylegetShuffleButtonTextStyle()final TextStylegetSendButtonTextStyle()-
-
Constructor Detail
-
GiphyViewHolderStyle
GiphyViewHolderStyle(Integer cardBackgroundColor, Float cardElevation, Integer cardButtonDividerColor, Drawable giphyIcon, TextStyle labelTextStyle, TextStyle queryTextStyle, TextStyle cancelButtonTextStyle, TextStyle shuffleButtonTextStyle, TextStyle sendButtonTextStyle)
- Parameters:
cardBackgroundColor- Card's background color.cardElevation- Card's elevation.cardButtonDividerColor- Color for dividers placed between action buttons.giphyIcon- Giphy icon.labelTextStyle- Appearance for label text.queryTextStyle- Appearance for query text.cancelButtonTextStyle- Appearance for cancel button text.shuffleButtonTextStyle- Appearance for shuffle button text.sendButtonTextStyle- Appearance for send button text.
-
-
Method Detail
-
getCardBackgroundColor
final Integer getCardBackgroundColor()
-
getCardElevation
final Float getCardElevation()
-
getCardButtonDividerColor
final Integer getCardButtonDividerColor()
-
getGiphyIcon
final Drawable getGiphyIcon()
-
getLabelTextStyle
final TextStyle getLabelTextStyle()
-
getQueryTextStyle
final TextStyle getQueryTextStyle()
-
getCancelButtonTextStyle
final TextStyle getCancelButtonTextStyle()
-
getShuffleButtonTextStyle
final TextStyle getShuffleButtonTextStyle()
-
getSendButtonTextStyle
final TextStyle getSendButtonTextStyle()
-
-
-
-