data class AttachmentsPickerDialogStyle(val useDefaultSystemMediaPicker: Boolean = false, @ColorInt val attachmentsPickerBackgroundColor: Int, val allowAccessButtonTextStyle: TextStyle, val submitAttachmentsButtonIconDrawable: Drawable, val attachmentTabToggleButtonStateList: ColorStateList?, val mediaAttachmentsTabEnabled: Boolean, val mediaAttachmentsTabIconDrawable: Drawable, val allowAccessToMediaButtonText: String, val allowAccessToMediaIconDrawable: Drawable, val videoLengthTextVisible: Boolean, val videoLengthTextStyle: TextStyle, val videoIconVisible: Boolean, val videoIconDrawable: Drawable, @ColorInt val videoIconDrawableTint: Int?, val mediaAttachmentNoMediaText: String, val mediaAttachmentNoMediaTextStyle: TextStyle, val fileAttachmentsTabEnabled: Boolean, val fileAttachmentsTabIconDrawable: Drawable, val allowAccessToFilesButtonText: String, val allowAccessToFilesIconDrawable: Drawable, val allowAccessToAudioText: String, val allowAccessToAudioTextStyle: TextStyle, val allowAccessToAudioIconDrawable: Drawable, val allowAccessToVisualMediaText: String, val allowAccessToMoreVisualMediaText: String, val allowAccessToVisualMediaTextStyle: TextStyle, val allowAccessToVisualMediaIconDrawable: Drawable, val recentFilesText: String, val recentFilesTextStyle: TextStyle, val fileManagerIconDrawable: Drawable, val fileAttachmentsNoFilesText: String, val fileAttachmentsNoFilesTextStyle: TextStyle, val fileAttachmentItemNameTextStyle: TextStyle, val fileAttachmentItemSizeTextStyle: TextStyle, val fileAttachmentItemCheckboxSelectedDrawable: Drawable, val fileAttachmentItemCheckboxDeselectedDrawable: Drawable, @ColorInt val fileAttachmentItemCheckboxTextColor: Int, val cameraAttachmentsTabEnabled: Boolean, val cameraAttachmentsTabIconDrawable: Drawable, val pollAttachmentsTabEnabled: Boolean, val pollAttachmentsTabIconDrawable: Drawable, val allowAccessToCameraButtonText: String, val allowAccessToCameraIconDrawable: Drawable, val pickerMediaMode: PickerMediaMode) :
ViewStyle Style for AttachmentsPickerDialogFragment.
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.
If the video duration caption is displayed.
The text style used for video duration caption in each tile.
If the video icon is displayed.
The icon used for video files.
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.
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.
The text above the file list on the file attachments tab.
The text style of the recent files text on the file attachments tab.
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.
define which media type will be allowed.