Class AttachmentGalleryViewMediaStyle

  • All Implemented Interfaces:
    io.getstream.chat.android.ui.helper.ViewStyle

    
    public final class AttachmentGalleryViewMediaStyle
     implements ViewStyle
                        

    Controls the appearance of the main portion of the attachment gallery used to view media.

    • Constructor Detail

      • AttachmentGalleryViewMediaStyle

        AttachmentGalleryViewMediaStyle(Drawable viewMediaPlayVideoButtonIcon, Integer viewMediaPlayVideoIconTint, Integer viewMediaPlayVideoIconBackgroundColor, Float viewMediaPlayVideoIconCornerRadius, Float viewMediaPlayVideoIconElevation, Integer viewMediaPlayVideoIconPaddingTop, Integer viewMediaPlayVideoIconPaddingBottom, Integer viewMediaPlayVideoIconPaddingStart, Integer viewMediaPlayVideoIconPaddingEnd, Integer viewMediaPlayVideoIconWidth, Integer viewMediaPlayVideoIconHeight, Drawable imagePlaceholder)
        Parameters:
        viewMediaPlayVideoButtonIcon - The drawable for the play button icon displayed above videos in the main viewing area of the gallery.
        viewMediaPlayVideoIconTint - Tints the icon overlaid above videos in the main viewing area of the gallery.
        viewMediaPlayVideoIconBackgroundColor - The background color of the View containing the play button overlaid above the main viewing area of the gallery.
        viewMediaPlayVideoIconCornerRadius - The corner radius of the play button in the main viewing area of the gallery.
        viewMediaPlayVideoIconElevation - The elevation of the play button in the main viewing area of the gallery.
        viewMediaPlayVideoIconPaddingTop - Sets the top padding of the play video icon displayed above the main viewing area of the gallery.
        viewMediaPlayVideoIconPaddingBottom - Sets the bottom padding of the play video icon in the main viewing area of the gallery.
        viewMediaPlayVideoIconPaddingStart - Sets the start padding of the play video icon in the main viewing area of the gallery.
        viewMediaPlayVideoIconPaddingEnd - Sets the end padding of the play video icon in the main viewing area of the gallery.
        viewMediaPlayVideoIconWidth - Sets the width of the play video button in the main viewing area of the gallery.
        viewMediaPlayVideoIconHeight - Sets the width of the play video button in the main viewing area of the gallery.
        imagePlaceholder - A placeholder drawable used before the image is loaded.