Customization: File Attachment Panel

Please read the general information in the "Customization" and "Customization: Сommon Styles" articles before you continue.

Basic style Usedesk.Chat.Attachment.Dialog

Parent style: Usedesk.Common.BottomSheetDialog

Child attributes::

Name Description Standard value
usedesk_chat_attachment_dialog_background Link to a color or image of the general background @color/usedesk_white_1
usedesk_chat_attachment_dialog_camera_image
Photo picture Style @style/Usedesk.Chat.Attachment.Dialog.Camera.Image
usedesk_chat_attachment_dialog_camera_text
Photo text Style @style/Usedesk.Chat.Attachment.Dialog.Camera.Text
usedesk_chat_attachment_dialog_gallery_image
Gallery picture Style @style/Usedesk.Chat.Attachment.Dialog.Gallery.Image
usedesk_chat_attachment_dialog_gallery_text
Gallery text style @style/Usedesk.Chat.Attachment.Dialog.Gallery.Text
usedesk_chat_attachment_dialog_storage_image
Files picture Style @style/Usedesk.Chat.Attachment.Dialog.Storage.Image
usedesk_chat_attachment_dialog_storage_text
Files text Style @style/Usedesk.Chat.Attachment.Dialog.Storage.Text
usedesk_common_no_permission_snackbar
Permissionless error style @style/Usedesk.Common.No.Permission.Snackbar


Usedesk.Chat.Attachment.Dialog.Camera.Image Style

Child attributes:

Name Description Standard value
srcCompat Link to the image @drawable/usedesk_ic_camera


Usedesk.Chat.Attachment.Dialog.Camera.Text Style


Child attributes:

Name Description Standard value
srcCompat Link to the image @drawable/usedesk_camera


Usedesk.Chat.Attachment.Dialog.Gallery.Image Style

Child attributes:

Name Description Standard value
srcCompat Link to the image @drawable/usedesk_ic_gallery


Usedesk.Chat.Attachment.Dialog.Gallery.Text Style

Child attributes:

Name Description Standard value
text Link to the text @string/usedesk_gallery


Usedesk.Chat.Attachment.Dialog.Storage.Image Style


Child attributes:

Name Description Standard value
srcCompat Link to the image @drawable/usedesk_ic_storage
Usedesk.Chat.Attachment.Dialog.Storage.Text Style

Child attributes:

Name Description Standard value
text Link to the text @string/usedesk_storage