GiphyViewHolderStyle

data class GiphyViewHolderStyle(@ColorInt val cardBackgroundColor: Int, @Px val cardElevation: Float, @ColorInt val cardButtonDividerColor: Int, val giphyIcon: Drawable, val labelTextStyle: TextStyle, val queryTextStyle: TextStyle, val cancelButtonTextStyle: TextStyle, val shuffleButtonTextStyle: TextStyle, val sendButtonTextStyle: TextStyle) : ViewStyle

Style for GiphyViewHolder. Use this class together with TransformStyle.giphyViewHolderStyleTransformer to change styles programmatically.

Parameters

cardBackgroundColor

Card's background color. Default value is R.color.stream_ui_white.

cardElevation

Card's elevation. Default value is R.dimen.stream_ui_elevation_small.

cardButtonDividerColor

Color for dividers placed between action buttons. Default value is R.color.stream_ui_border.

giphyIcon

Giphy icon. Default value is R.drawable.stream_ui_ic_giphy.

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.

Constructors

Link copied to clipboard
constructor(@ColorInt cardBackgroundColor: Int, @Px cardElevation: Float, @ColorInt cardButtonDividerColor: Int, giphyIcon: Drawable, labelTextStyle: TextStyle, queryTextStyle: TextStyle, cancelButtonTextStyle: TextStyle, shuffleButtonTextStyle: TextStyle, sendButtonTextStyle: TextStyle)

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