AttachmentGalleryViewMediaStyle

data class AttachmentGalleryViewMediaStyle(val viewMediaPlayVideoButtonIcon: Drawable?, @ColorInt val viewMediaPlayVideoIconTint: Int?, @ColorInt val viewMediaPlayVideoIconBackgroundColor: Int, val viewMediaPlayVideoIconCornerRadius: Float, val viewMediaPlayVideoIconElevation: Float, val viewMediaPlayVideoIconPaddingTop: Int, val viewMediaPlayVideoIconPaddingBottom: Int, val viewMediaPlayVideoIconPaddingStart: Int, val viewMediaPlayVideoIconPaddingEnd: Int, val viewMediaPlayVideoIconWidth: Int, val viewMediaPlayVideoIconHeight: Int, val imagePlaceholder: Drawable?) : ViewStyle

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

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.

Constructors

Link copied to clipboard
constructor(viewMediaPlayVideoButtonIcon: Drawable?, @ColorInt viewMediaPlayVideoIconTint: Int?, @ColorInt viewMediaPlayVideoIconBackgroundColor: Int, viewMediaPlayVideoIconCornerRadius: Float, viewMediaPlayVideoIconElevation: Float, viewMediaPlayVideoIconPaddingTop: Int, viewMediaPlayVideoIconPaddingBottom: Int, viewMediaPlayVideoIconPaddingStart: Int, viewMediaPlayVideoIconPaddingEnd: Int, viewMediaPlayVideoIconWidth: Int, viewMediaPlayVideoIconHeight: Int, imagePlaceholder: Drawable?)

Properties