Customization: File Display Window

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

Basic style: Usedesk.Chat.Show.File

Child attributes:

Name Description Standard value
usedesk_chat_show_file_root_background Link to the main background @color/usedesk_white_2
usedesk_chat_show_file_image_background
Link to the image background @color/usedesk_black_1
usedesk_chat_show_file_blur_top_background
Link to the color of top bar @color/usedesk_blur
usedesk_chat_show_file_blur_bottom_background
Link to the color of bottom bar @color/usedesk_blur
usedesk_chat_show_file_file_image File Image Style @style/Usedesk.Chat.Show.File.File.Image
usedesk_chat_show_file_share_image Share button style @style/Usedesk.Chat.Show.File.Share.Image
usedesk_chat_show_file_download_image
Download button style @style/Usedesk.Chat.Show.File.Download.Image
usedesk_chat_show_file_error_image
Style of image upload error @style/Usedesk.Chat.Show.File.Error.Image
usedesk_chat_show_file_back_image Back button style @style/Usedesk.Chat.Show.File.Back.Image
usedesk_chat_show_file_toolbar_text Top bar text style @style/Usedesk.Chat.Show.File.Toolbar.Text
usedesk_chat_show_file_name_text File name style @style/Usedesk.Chat.Show.File.Name.Text
usedesk_chat_show_file_size_text File size style @style/Usedesk.Chat.Show.File.Size.Text
usedesk_chat_show_file_download_status_toast Download status style @style/Usedesk.Chat.Show.File.Download.Status.Toast
usedesk_common_no_permission_snackbar Permissions error style @style/Usedesk.Common.No.Permission.Snackbar


Usedesk.Chat.Show.File.File.Image Style

Child attributes:

Name Description Standard value
srcCompat Image @drawable/usedesk_ic_file_gray


Usedesk.Chat.Show.File.Share.Image Style

Child attributes:

Name Description Standard value
srcCompat Image @drawable/usedesk_ic_share


Usedesk.Chat.Show.File.Download.Image Style

Child attributes:

Name Description Standard value
srcCompat Image @drawable/usedesk_ic_share


Usedesk.Chat.Show.File.Error.Image Style

Child attributes:

Name Description Standard value
srcCompat Image @drawable/usedesk_ic_error


Usedesk.Chat.Show.File.Back.Image Style

Parent style: Usedesk.Common.Toolbar.Back.Image

Child attributes:

Name Description Standard value
srcCompat Image @drawable/usedesk_ic_back_white


Usedesk.Chat.Show.File.Toolbar.Text Style

Child attributes:

Название Description Standard value
srcCompat Image @drawable/usedesk_ic_share


Usedesk.Chat.Show.File.Name.Text Style

Child attributes:

Name Description Standard value
srcCompat Image @drawable/usedesk_ic_share


Usedesk.Chat.Show.File.Size.Text Style

Child attributes:

Name Description Standard value
srcCompat Image @drawable/usedesk_ic_share


Usedesk.Chat.Show.File.Download.Status.Toast Style

Child attributes:

Name Description Standard value
usedesk_text_1 Text of starting the download @string/usedesk_download_started
usedesk_text_2 Text of the downloading error @string/usedesk_download_failed