Customization: Chat window

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

Basic style Usedesk.Chat.Screen

Parent Style: Usedesk.Common

Child attributes:

NameDescriptionStandard value
usedesk_common_toolbar_title_textWindow title text style@style/Usedesk.Chat.Screen.Title.Text
usedesk_chat_screen_loading_text
Chat loading text style@style/Usedesk.Chat.Screen.Loading.Text
usedesk_chat_screen_attach_image
File attachment button style@style/Usedesk.Chat.Screen.Attach.Image
usedesk_chat_screen_send_image
Sending 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_message_panel
_background
Link to the background of the Message input panel@color/usedesk_white_1
usedesk_chat_screen_message_panel
_divider_background
Link to the divider background in the message input panel@color/usedesk_gray_2
usedesk_chat_screen_offline_form
_selector_background
Link to the background color or image of the FF field selection @color/usedesk_white_1
usedesk_chat_screen_offline_form
_action_enabled_background
Link to the color or image of the background of the active FF button@color/usedesk_black_2
usedesk_chat_screen_offline_form
_action_disabled_background
Link to the background color or image of the inactive FF button
@color/usedesk_gray_2
usedesk_chat_screen_offline_form
_description_text
FF description text style@style/Usedesk.Chat.Screen.Offline.Form.Description.Text
usedesk_chat_screen_offline_form
_send_text
FF sending button text style@style/Usedesk.Chat.Screen.Offline.Form.Send.Text
usedesk_chat_screen_offline_form
_send_failed_snackbar
The style of the FF sending error@style/Usedesk.Chat.Screen.Offline.Form.Send.Failed.Snackbar
usedesk_chat_screen_offline_form
_name
Title/hint of the FF name entry field@string/usedesk_name
usedesk_chat_screen_offline_form
_email
Title/hint of the FF e-mail entry field@string/usedesk_email
usedesk_chat_screen_offline_form
_message
Title/hint of the FF message entry field@string/usedesk_message
usedesk_chat_screen_offline_form
_text_field
Style of the FF text input element@style/Usedesk.Common.Text.Field
usedesk_chat_screen_offline_form
_list_field
Style of the element with the choice of the FF value@style/Usedesk.Common.List.Field
usedesk_chat_screen_offline_form
_selector_checkbox
The style of the element when selecting the value of the FF list@style/Usedesk.Common.Field.CheckBox

Usedesk.Chat.Screen.Title.Text Style

Parent Style: Usedesk.Common.Toolbar.Title.Text

Child attributes:

NameDescriptionStandard value
textDownload text@string/usedesk_chat


Usedesk.Chat.Screen.Loading.Text Style


Child attributes:

Name
Description Standard value
text Download text @string/usedesk_loading


Usedesk.Chat.Screen.Attach.Image Style

Child attributes:

Name
Description Standard value
srcCompat Image link @drawable/usedesk_ic_attachment


Usedesk.Chat.Screen.Send.Image Style


Child attributes:

Name
Description Standard value
srcCompat Image link @drawable/usedesk_ic_send


Usedesk.Chat.Screen.Message.Text Style

Child attributes:

Name
Description Standard value
hint Tooltip text @string/usedesk_message_input


Usedesk.Chat.Screen.Offline.Form.Description.Text Style

Child attributes:

Name
Description Standard value
text Description text @string/usedesk_we_are_offline


Usedesk.Chat.Screen.Offline.Form.Send.Text Style

Child attributes:

Name
Description Standard value
text Button text @string/usedesk_send


Usedesk.Chat.Screen.Offline.Form.Send.Failed.Snackbar Style

Child attributes:

Name Description Standard value
usedesk_text_1 Error text @string/usedesk_offline_form_send_failed
usedesk_text_color_1 Error text color @color/usedesk_white_1
usedesk_background_color_1 Error background color @color/usedesk_red