Customization: "Messages" tab

Before reading, please review the articles "Customization" and "Customization: common styles".

Theme Usedesk.Chat.Screen.Messages.Page

Child attributes:

Name Description Default value
usedesk_common_container_root Main container style @style/Usedesk.Chat.Screen.Messages.Page.ContainerRoot
usedesk_common_container_1 Message list container style @style/Usedesk.Chat.Screen.Messages.Page.Container1
usedesk_common_container_2 Message input panel container style @style/Usedesk.Chat.Screen.Messages.Page.Container2
usedesk_common_container_3 Upper part of the message input panel container style @style/Usedesk.Chat.Screen.Messages.Page.Container3
usedesk_common_container_4 Attached files list container style @style/Usedesk.Chat.Screen.Messages.Page.Container4
usedesk_common_divider Divider style at the top of the message input panel @style/Usedesk.Common.Divider
usedesk_chat_screen_attach_image File attachment button style @style/Usedesk.Chat.Screen.Attach.Image
usedesk_chat_screen_send_image Send message button style @style/Usedesk.Chat.Screen.Send.Image
usedesk_chat_screen_message_edit_text Message input field style @style/Usedesk.Chat.Screen.Message.Text
usedesk_chat_screen_floating_action_button Style of the button that jumps to new messages @style/Usedesk.Chat.Screen.FloatingActionButton
usedesk_chat_screen_floating_action_button_text Unread message counter style on the button @style/Usedesk.Chat.Screen.FloatingActionButton.Text


Child style: Usedesk.Chat.Screen.Attach.Image

Child attributes:

Name Description Default value
srcCompat Image @drawable/usedesk_ic_attachment


Child style: Usedesk.Chat.Screen.Send.Image

Child attributes:

Name Description Default value
srcCompat Image @drawable/usedesk_ic_send


Child style: Usedesk.Chat.Screen.Message.Text

Child attributes:

Name Description Default value
android:hint Input field hint @string/usedesk_message_input


Child style: Usedesk.Chat.Screen.FloatingActionButton

The button appears when the list is scrolled up and returns the user to the latest messages.

Child attributes:

Name Description Default value
usedesk_animation_in Button appearance animation @anim/usedesk_fab_to_bottom_in
usedesk_animation_out Button hiding animation @anim/usedesk_fab_to_bottom_out


Child style: Usedesk.Chat.Screen.FloatingActionButton.Text

Unread message counter shown on top of the button. Hidden when there are no unread messages.

Standard TextView attributes only.