AttachmentsPickerDialogStyle

constructor(useDefaultSystemMediaPicker: Boolean = false, @ColorInt attachmentsPickerBackgroundColor: Int, allowAccessButtonTextStyle: TextStyle, submitAttachmentsButtonIconDrawable: Drawable, attachmentTabToggleButtonStateList: ColorStateList?, mediaAttachmentsTabEnabled: Boolean, mediaAttachmentsTabIconDrawable: Drawable, allowAccessToMediaButtonText: String, allowAccessToMediaIconDrawable: Drawable, videoLengthTextVisible: Boolean, videoLengthTextStyle: TextStyle, videoIconVisible: Boolean, videoIconDrawable: Drawable, @ColorInt videoIconDrawableTint: Int?, mediaAttachmentNoMediaText: String, mediaAttachmentNoMediaTextStyle: TextStyle, fileAttachmentsTabEnabled: Boolean, fileAttachmentsTabIconDrawable: Drawable, allowAccessToFilesButtonText: String, allowAccessToFilesIconDrawable: Drawable, allowAccessToAudioText: String, allowAccessToAudioTextStyle: TextStyle, allowAccessToAudioIconDrawable: Drawable, allowAccessToVisualMediaText: String, allowAccessToMoreVisualMediaText: String, allowAccessToVisualMediaTextStyle: TextStyle, allowAccessToVisualMediaIconDrawable: Drawable, recentFilesText: String, recentFilesTextStyle: TextStyle, fileManagerIconDrawable: Drawable, fileAttachmentsNoFilesText: String, fileAttachmentsNoFilesTextStyle: TextStyle, fileAttachmentItemNameTextStyle: TextStyle, fileAttachmentItemSizeTextStyle: TextStyle, fileAttachmentItemCheckboxSelectedDrawable: Drawable, fileAttachmentItemCheckboxDeselectedDrawable: Drawable, @ColorInt fileAttachmentItemCheckboxTextColor: Int, cameraAttachmentsTabEnabled: Boolean, cameraAttachmentsTabIconDrawable: Drawable, pollAttachmentsTabEnabled: Boolean, pollAttachmentsTabIconDrawable: Drawable, allowAccessToCameraButtonText: String, allowAccessToCameraIconDrawable: Drawable, pickerMediaMode: PickerMediaMode)

Parameters

useDefaultSystemMediaPicker

If the system pickers should be used that does not require the READ_MEDIA permission.

attachmentsPickerBackgroundColor

The background color of the picker.

allowAccessButtonTextStyle

The text style used for all the buttons used to request required permissions.

submitAttachmentsButtonIconDrawable

The icon for the submit selected attachments button.

attachmentTabToggleButtonStateList

The color selector that will be applied to each tab button.

mediaAttachmentsTabEnabled

If the media attachments tab is displayed in the picker.

mediaAttachmentsTabIconDrawable

The icon for the image attachments tab.

allowAccessToMediaButtonText

The text to request required permissions on the image attachments tab.

allowAccessToMediaIconDrawable

The icon above the permissions text on the image attachments tab.

videoLengthTextVisible

If the video duration caption is displayed.

videoLengthTextStyle

The text style used for video duration caption in each tile.

videoIconVisible

If the video icon is displayed.

videoIconDrawable

The icon used for video files.

videoIconDrawableTint

The tint of the icon used for video files.

mediaAttachmentNoMediaText

The text that will be displayed if there are no media files on the device.

mediaAttachmentNoMediaTextStyle

The text style for the the no media files text.

fileAttachmentsTabEnabled

If the file attachments tab is displayed in the picker.

fileAttachmentsTabIconDrawable

The icon for the file attachments tab.

allowAccessToFilesButtonText

The text to request required permissions on the file attachments tab.

allowAccessToFilesIconDrawable

The icon above the permissions text on the file attachments tab.

allowAccessToAudioText

The text to request audio access on the file attachments tab.

allowAccessToAudioTextStyle

The text style for the audio permissions text on the file attachments tab.

allowAccessToAudioIconDrawable

The icon for the audio access label on the file attachments tab.

allowAccessToVisualMediaText

The text to request visual media access on the file attachments tab.

allowAccessToMoreVisualMediaText

The text to request more (partial) visual media on the file attachments tab.

allowAccessToVisualMediaTextStyle

The text style for the visual media access text on the file attachments tab.

allowAccessToVisualMediaIconDrawable

The icon for the visual media access label on the file attachments tab.

recentFilesText

The text above the file list on the file attachments tab.

recentFilesTextStyle

The text style of the recent files text on the file attachments tab.

fileManagerIconDrawable

The icon for a button to pick files from file manager.

fileAttachmentsNoFilesText

The text that will be displayed if there are no files on the device.

fileAttachmentsNoFilesTextStyle

The text style for the the no files text.

fileAttachmentItemNameTextStyle

The text style for the file name in a file attachment item.

fileAttachmentItemSizeTextStyle

The text style for the file size in a file attachment item.

fileAttachmentItemCheckboxSelectedDrawable

The drawable for the selected state of the checkbox in file attachment item.

fileAttachmentItemCheckboxDeselectedDrawable

The drawable for the deselected state of the checkbox in file attachment item.

fileAttachmentItemCheckboxTextColor

The color of the checkbox in file attachment item.

cameraAttachmentsTabEnabled

If the media capture tab is displayed in the picker.

cameraAttachmentsTabIconDrawable

The icon for the camera attachments tab.

allowAccessToCameraButtonText

The text to request required permissions on the camera attachments tab.

allowAccessToCameraIconDrawable

The icon above the permissions text on the camera attachments tab.

pickerMediaMode

define which media type will be allowed.