Class AttachmentsPickerDialogStyle
-
- 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(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 recentFilesText, TextStyle recentFilesTextStyle, Drawable fileManagerIconDrawable, String fileAttachmentsNoFilesText, TextStyle fileAttachmentsNoFilesTextStyle, TextStyle fileAttachmentItemNameTextStyle, TextStyle fileAttachmentItemSizeTextStyle, Drawable fileAttachmentItemCheckboxSelectedDrawable, Drawable fileAttachmentItemCheckboxDeselectedDrawable, Integer fileAttachmentItemCheckboxTextColor, Boolean cameraAttachmentsTabEnabled, Drawable cameraAttachmentsTabIconDrawable, String allowAccessToCameraButtonText, Drawable allowAccessToCameraIconDrawable, PickerMediaMode pickerMediaMode)
-
Method Summary
-
-
Constructor Detail
-
AttachmentsPickerDialogStyle
AttachmentsPickerDialogStyle(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 recentFilesText, TextStyle recentFilesTextStyle, Drawable fileManagerIconDrawable, String fileAttachmentsNoFilesText, TextStyle fileAttachmentsNoFilesTextStyle, TextStyle fileAttachmentItemNameTextStyle, TextStyle fileAttachmentItemSizeTextStyle, Drawable fileAttachmentItemCheckboxSelectedDrawable, Drawable fileAttachmentItemCheckboxDeselectedDrawable, Integer fileAttachmentItemCheckboxTextColor, Boolean cameraAttachmentsTabEnabled, Drawable cameraAttachmentsTabIconDrawable, String allowAccessToCameraButtonText, Drawable allowAccessToCameraIconDrawable, PickerMediaMode pickerMediaMode)
- Parameters:
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.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.
-
-
Method Detail
-
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()
-
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()
-
getAllowAccessToCameraButtonText
final String getAllowAccessToCameraButtonText()
-
getAllowAccessToCameraIconDrawable
final Drawable getAllowAccessToCameraIconDrawable()
-
getPickerMediaMode
final PickerMediaMode getPickerMediaMode()
-
-
-
-