Class GiphyMediaAttachmentViewStyle

    • Constructor Detail

      • GiphyMediaAttachmentViewStyle

        GiphyMediaAttachmentViewStyle(Drawable progressIcon, Drawable giphyIcon, Drawable placeholderIcon, Integer imageBackgroundColor, GiphyInfoType giphyType, ImageView.ScaleType scaleType, GiphySizingMode sizingMode, Integer width, Integer height, Float dimensionRatio)
        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.
        sizingMode - Sets the way the Giphy container scales itself, either adaptive or of a fixed size.
        width - Sets the width of the Giphy container.
        height - Sets the height of the Giphy container.
        dimensionRatio - Sets the dimension ratio of the Giphy container.