Customization: Basic File Message Style

Style: Usedesk.Chat.Message.File

Parent style: Usedesk.Chat.Message

Child attributes:

Name Description Standard value
usedesk_chat_message_file_preview_image
File icon image style @style/Usedesk.Chat.Message.File.Preview.Image
usedesk_chat_message_file_extension_text
Icon extension text style @style/Usedesk.Chat.Message.File.Extension.Text
usedesk_chat_message_file_name_text
File name text style @style/Usedesk.Chat.Message.File.Name.Text
usedesk_chat_message_file_size_text
File size text style @style/Usedesk.Chat.Message.File.Size.Text


Child style: Usedesk.Chat.Message.File.Preview.Image

Child attributes:

Name Description Standard value
srcCompat Image @drawable/usedesk_ic_file_dark


Child style: Usedesk.Chat.Message.File.Extension.Text

Standard TextView attributes only


Child style: Usedesk.Chat.Message.File.Name.Text

Standard TextView attributes only


Child style: Usedesk.Chat.Message.File.Size.Text

Standard TextView attributes only

NameDescriptionStandard value
usedesk_text_1Warning about possible file malware text@string/usedesk_dangerous_file
usedesk_text_color_1"File size" text color
@color/usedesk_gray_3
usedesk_text_color_2Warning about possible file malware text color@color/usedesk_red