GiphyMediaAttachmentViewStyle
constructor(progressIcon: Drawable, giphyIcon: Drawable, placeholderIcon: Drawable, @ColorInt imageBackgroundColor: Int, giphyType: GiphyInfoType, scaleType: ImageView.ScaleType, sizingMode: GiphySizingMode, width: Int, height: Int, dimensionRatio: Float)
Parameters
progressIcon
Displayed while the Giphy is Loading.
giphyIcon
Displays the Giphy logo over the Giphy image.
placeholderIcon
Displayed while the Giphy is Loading.
imageBackgroundColor
Sets the background colour for the Giphy container.
giphyType
Sets the Giphy type which directly affects image quality and if the container is resized or not.
scaleType
Sets the scaling type for loading the image. E.g. 'centerCrop', 'fitCenter', etc...
sizingMode
Sets the way the Giphy container scales itself, either adaptive or of a fixed size.
width
Sets the width of the Giphy container. This value is ignored if Giphys are adaptively sized.
height
Sets the height of the Giphy container. This value is ignored if Giphys are adaptively sized.
dimensionRatio
Sets the dimension ratio of the Giphy container. This value is ignored if Giphys are adaptively sized.