-
- All Implemented Interfaces:
-
io.getstream.chat.android.ui.helper.ViewStyle
public final class AttachmentsPickerDialogStyle implements ViewStyle
Style for AttachmentsPickerDialogFragment.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AttachmentsPickerDialogStyle(Boolean useDefaultSystemMediaPicker, Boolean saveAttachmentsOnDismiss, Integer attachmentsPickerBackgroundColor, TextStyle allowAccessButtonTextStyle, Drawable submitAttachmentsButtonIconDrawable, ColorStateList attachmentTabToggleButtonStateList, Boolean mediaAttachmentsTabEnabled, Drawable mediaAttachmentsTabIconDrawable, String allowAccessToMediaButtonText, Drawable allowAccessToMediaIconDrawable, Boolean videoLengthTextVisible, TextStyle videoLengthTextStyle, Boolean videoIconVisible, Drawable videoIconDrawable, Integer videoIconDrawableTint, String mediaAttachmentNoMediaText, TextStyle mediaAttachmentNoMediaTextStyle, Boolean fileAttachmentsTabEnabled, Drawable fileAttachmentsTabIconDrawable, String allowAccessToFilesButtonText, Drawable allowAccessToFilesIconDrawable, String allowAccessToAudioText, TextStyle allowAccessToAudioTextStyle, Drawable allowAccessToAudioIconDrawable, String allowAccessToVisualMediaText, String allowAccessToMoreVisualMediaText, TextStyle allowAccessToVisualMediaTextStyle, Drawable allowAccessToVisualMediaIconDrawable, String recentFilesText, TextStyle recentFilesTextStyle, Drawable fileManagerIconDrawable, String fileAttachmentsNoFilesText, TextStyle fileAttachmentsNoFilesTextStyle, TextStyle fileAttachmentItemNameTextStyle, TextStyle fileAttachmentItemSizeTextStyle, Drawable fileAttachmentItemCheckboxSelectedDrawable, Drawable fileAttachmentItemCheckboxDeselectedDrawable, Integer fileAttachmentItemCheckboxTextColor, Boolean cameraAttachmentsTabEnabled, Drawable cameraAttachmentsTabIconDrawable, Boolean pollAttachmentsTabEnabled, Drawable pollAttachmentsTabIconDrawable, String allowAccessToCameraButtonText, Drawable allowAccessToCameraIconDrawable, PickerMediaMode pickerMediaMode, Boolean systemMediaPickerVisualMediaAllowMultiple, VisualMediaType systemMediaPickerVisualMediaType)
-
Method Summary
-
-
Constructor Detail
-
AttachmentsPickerDialogStyle
AttachmentsPickerDialogStyle(Boolean useDefaultSystemMediaPicker, Boolean saveAttachmentsOnDismiss, Integer attachmentsPickerBackgroundColor, TextStyle allowAccessButtonTextStyle, Drawable submitAttachmentsButtonIconDrawable, ColorStateList attachmentTabToggleButtonStateList, Boolean mediaAttachmentsTabEnabled, Drawable mediaAttachmentsTabIconDrawable, String allowAccessToMediaButtonText, Drawable allowAccessToMediaIconDrawable, Boolean videoLengthTextVisible, TextStyle videoLengthTextStyle, Boolean videoIconVisible, Drawable videoIconDrawable, Integer videoIconDrawableTint, String mediaAttachmentNoMediaText, TextStyle mediaAttachmentNoMediaTextStyle, Boolean fileAttachmentsTabEnabled, Drawable fileAttachmentsTabIconDrawable, String allowAccessToFilesButtonText, Drawable allowAccessToFilesIconDrawable, String allowAccessToAudioText, TextStyle allowAccessToAudioTextStyle, Drawable allowAccessToAudioIconDrawable, String allowAccessToVisualMediaText, String allowAccessToMoreVisualMediaText, TextStyle allowAccessToVisualMediaTextStyle, Drawable allowAccessToVisualMediaIconDrawable, String recentFilesText, TextStyle recentFilesTextStyle, Drawable fileManagerIconDrawable, String fileAttachmentsNoFilesText, TextStyle fileAttachmentsNoFilesTextStyle, TextStyle fileAttachmentItemNameTextStyle, TextStyle fileAttachmentItemSizeTextStyle, Drawable fileAttachmentItemCheckboxSelectedDrawable, Drawable fileAttachmentItemCheckboxDeselectedDrawable, Integer fileAttachmentItemCheckboxTextColor, Boolean cameraAttachmentsTabEnabled, Drawable cameraAttachmentsTabIconDrawable, Boolean pollAttachmentsTabEnabled, Drawable pollAttachmentsTabIconDrawable, String allowAccessToCameraButtonText, Drawable allowAccessToCameraIconDrawable, PickerMediaMode pickerMediaMode, Boolean systemMediaPickerVisualMediaAllowMultiple, VisualMediaType systemMediaPickerVisualMediaType)
- Parameters:
useDefaultSystemMediaPicker- If the system pickers should be used that does not require theREAD_MEDIApermission.saveAttachmentsOnDismiss- If the selected attachments should be saved when the dialog is dismissed.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.systemMediaPickerVisualMediaAllowMultiple- Flag indicating whether the user can pick multiple visual media attachments.systemMediaPickerVisualMediaType- The type of visual media that can be picked via the system media picker.
-
-
Method Detail
-
getUseDefaultSystemMediaPicker
final Boolean getUseDefaultSystemMediaPicker()
-
getSaveAttachmentsOnDismiss
final Boolean getSaveAttachmentsOnDismiss()
-
getAttachmentsPickerBackgroundColor
final Integer getAttachmentsPickerBackgroundColor()
-
getAllowAccessButtonTextStyle
final TextStyle getAllowAccessButtonTextStyle()
-
getSubmitAttachmentsButtonIconDrawable
final Drawable getSubmitAttachmentsButtonIconDrawable()
-
getAttachmentTabToggleButtonStateList
final ColorStateList getAttachmentTabToggleButtonStateList()
-
getMediaAttachmentsTabEnabled
final Boolean getMediaAttachmentsTabEnabled()
-
getMediaAttachmentsTabIconDrawable
final Drawable getMediaAttachmentsTabIconDrawable()
-
getAllowAccessToMediaButtonText
final String getAllowAccessToMediaButtonText()
-
getAllowAccessToMediaIconDrawable
final Drawable getAllowAccessToMediaIconDrawable()
-
getVideoLengthTextVisible
final Boolean getVideoLengthTextVisible()
-
getVideoLengthTextStyle
final TextStyle getVideoLengthTextStyle()
-
getVideoIconVisible
final Boolean getVideoIconVisible()
-
getVideoIconDrawable
final Drawable getVideoIconDrawable()
-
getVideoIconDrawableTint
final Integer getVideoIconDrawableTint()
-
getMediaAttachmentNoMediaText
final String getMediaAttachmentNoMediaText()
-
getMediaAttachmentNoMediaTextStyle
final TextStyle getMediaAttachmentNoMediaTextStyle()
-
getFileAttachmentsTabEnabled
final Boolean getFileAttachmentsTabEnabled()
-
getFileAttachmentsTabIconDrawable
final Drawable getFileAttachmentsTabIconDrawable()
-
getAllowAccessToFilesButtonText
final String getAllowAccessToFilesButtonText()
-
getAllowAccessToFilesIconDrawable
final Drawable getAllowAccessToFilesIconDrawable()
-
getAllowAccessToAudioText
final String getAllowAccessToAudioText()
-
getAllowAccessToAudioTextStyle
final TextStyle getAllowAccessToAudioTextStyle()
-
getAllowAccessToAudioIconDrawable
final Drawable getAllowAccessToAudioIconDrawable()
-
getAllowAccessToVisualMediaText
final String getAllowAccessToVisualMediaText()
-
getAllowAccessToMoreVisualMediaText
final String getAllowAccessToMoreVisualMediaText()
-
getAllowAccessToVisualMediaTextStyle
final TextStyle getAllowAccessToVisualMediaTextStyle()
-
getAllowAccessToVisualMediaIconDrawable
final Drawable getAllowAccessToVisualMediaIconDrawable()
-
getRecentFilesText
final String getRecentFilesText()
-
getRecentFilesTextStyle
final TextStyle getRecentFilesTextStyle()
-
getFileManagerIconDrawable
final Drawable getFileManagerIconDrawable()
-
getFileAttachmentsNoFilesText
final String getFileAttachmentsNoFilesText()
-
getFileAttachmentsNoFilesTextStyle
final TextStyle getFileAttachmentsNoFilesTextStyle()
-
getFileAttachmentItemNameTextStyle
final TextStyle getFileAttachmentItemNameTextStyle()
-
getFileAttachmentItemSizeTextStyle
final TextStyle getFileAttachmentItemSizeTextStyle()
-
getFileAttachmentItemCheckboxSelectedDrawable
final Drawable getFileAttachmentItemCheckboxSelectedDrawable()
-
getFileAttachmentItemCheckboxDeselectedDrawable
final Drawable getFileAttachmentItemCheckboxDeselectedDrawable()
-
getFileAttachmentItemCheckboxTextColor
final Integer getFileAttachmentItemCheckboxTextColor()
-
getCameraAttachmentsTabEnabled
final Boolean getCameraAttachmentsTabEnabled()
-
getCameraAttachmentsTabIconDrawable
final Drawable getCameraAttachmentsTabIconDrawable()
-
getPollAttachmentsTabEnabled
final Boolean getPollAttachmentsTabEnabled()
-
getPollAttachmentsTabIconDrawable
final Drawable getPollAttachmentsTabIconDrawable()
-
getAllowAccessToCameraButtonText
final String getAllowAccessToCameraButtonText()
-
getAllowAccessToCameraIconDrawable
final Drawable getAllowAccessToCameraIconDrawable()
-
getPickerMediaMode
final PickerMediaMode getPickerMediaMode()
-
getSystemMediaPickerVisualMediaAllowMultiple
final Boolean getSystemMediaPickerVisualMediaAllowMultiple()
-
getSystemMediaPickerVisualMediaType
final VisualMediaType getSystemMediaPickerVisualMediaType()
-
-
-
-