AttachmentGalleryViewMediaStyle

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?)

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.