MediaAttachmentGridViewStyle

constructor(showUserAvatars: Boolean, playVideoButtonIcon: Drawable?, @ColorInt playVideoIconTint: Int?, @ColorInt playVideoIconBackgroundColor: Int, playVideoIconCornerRadius: Float, playVideoIconElevation: Float, playVideoIconPaddingTop: Int, playVideoIconPaddingBottom: Int, playVideoIconPaddingStart: Int, playVideoIconPaddingEnd: Int, imagePlaceholder: Drawable?)

Parameters

showUserAvatars

Controls whether the avatar of the user who had sent the attachment is displayed over the attachment preview or not.

playVideoButtonIcon

The drawable for the play button icon overlaid above video attachments in the media overview segment of the gallery.

playVideoIconTint

Tints the icon overlaid on top of video attachment previews in the media overview segment of the gallery.

playVideoIconBackgroundColor

The background color of the View containing the play button in the media overview segment of the gallery.

playVideoIconCornerRadius

The corner radius of the play button in the media overview segment of the gallery..

playVideoIconElevation

The elevation of the play button in the media overview segment of the gallery

playVideoIconPaddingTop

Sets the top padding of the play video icon in the media overview segment of the gallery.

playVideoIconPaddingBottom

Sets the bottom padding of the play video icon in the media overview segment of the gallery.

playVideoIconPaddingStart

Sets the start padding of the play video icon in the media overview segment of the gallery.

playVideoIconPaddingEnd

Sets the end padding of the play video icon in the media overview segment of the gallery.

imagePlaceholder

A placeholder drawable used before the image is loaded.