Resources

< Back to JavaDoc

The following resources are available to be overwritten by applications.

Dimensions

Resource Name Default Value Description
cases_case_publisher_content_vertical_margin
24dp The vertical margin used on the top and bottom of the CasePublisherView
cases_case_publisher_content_horizontal_margin
16dp The horizontal margin used on the left and right of CasePublisherView
cases_case_publisher_field_spacing
16dp The space to use between each field in CasePublisherView
cases_progress_dialog_progress_bar_size
40dp The height and width of the progress bar in a progress dialog
cases_progress_dialog_progress_bar_margin
20dp The margin between the progress bar and progress message in a progress dialog
cases_case_list_item_padding
16dp The padding used for the case list item view
cases_case_list_divider_left_padding
40dp The left padding of the case list divider
cases_case_list_item_margin_left
40dp The left margin for text in the case list item view, which is in addition to the list item padding.
cases_unread_indicator_margin_left
16dp The left margin for the unread indicator in the case list item view
cases_unread_indicator_size
12dp The height and width of the case unread indicator
cases_case_list_check_horizontal_margin
16dp The horizontal margin used on the left and right of the check mark shown when swiping to resolve a case

Strings

Resource Name Default Value Description
cases_case_publisher_view_title
Contact Support The title for the Toolbar in CasePublisherView
cases_generic_error_title_text
Oops, Something went wrong… The title text displayed when a generic error occurs
cases_case_list_out_of_date_snackbar_text
The case list is out of date. The case list is out of date and needs to be updated
cases_generic_error_subtitle_text
Please try again or contact the administrator The subtitle text displayed when a generic error occurs
cases_list_view_error_subtitle_text
Unable to load your case list. The subtitle text displayed when a generic error occurs while loading the CaseListView
cases_network_error_title_text
Unable to connect… The title text displayed when a network error occurs
cases_network_error_subtitle_text
Please ensure you are online The subtitle text displayed when a network error occurs
cases_send_item_title_text
Send The title text for the send menu item in CasePublisherView
cases_creating_case_progress_dialog_title_text
Sending… The title text for the progress dialog displayed when creating a case in CasePublisherView
cases_creating_case_progress_dialog_message_text
Please Wait The message text for the progress dialog displayed when creating a case in CasePublisherView
cases_discard_case_confirmation_dialog_title_text
Discard Case? The title text for the confirmation dialog displayed when backing out of CasePublisherView and there are changes
case_discard_case_confirmation_dialog_message_text
You will lose the information entered into this form. The message text for the confirmation dialog displayed when backing out of CasePublisherView and there are changes
cases_case_created_success_message_text
Your message has been sent to our support team. The message text for the view displayed when a case is created in CasePublisherView by a guest user
cases_case_created_success_message_sub_text
You should hear from someone soon. The message sub text for the view displayed when a case is created in CasePublisherView by a guest user
cases_case_create_error_snackbar_text
Sending failed The snackbar text for the snackbar displayed when an error occurs while creating a case in CasePublisherView
cases_case_list_view_empty_message_text
Your case inbox is empty The empty text displayed in the empty view when the CaseListView is loaded and contains no cases
cases_case_list_item_removed_snackbar_message_text
Case resolved The snackbar text for the snackbar displayed when a case is resolved by swiping it in the CaseListView
cases_unread_indicator_content_description
Unread messages The content description text for the unread messages indicator in the case list
cases_snackbar_undo_action_text
Undo The snackbar text for the snackbar displayed when a case is resolved by swiping it in the CaseListView
cases_snackbar_retry_action_text
Retry he snackbar action text displayed when a snackbar is displayed allowing the user to retry the failed action
cases_snackbar_refresh_action_text
Refresh The snackbar action text displayed when a snackbar is displayed allowing the user to refresh the case list
cases_validation_error_field_required_text
%s is required The error text displayed when a required field is not populated. NOTE: Contains a placeholder in which the field label will be used.
cases_validation_error_invalid_field_text
Invalid %s The error text displayed when a field does not contain valid data (eg., an email isn’t formatted correctly). NOTE: Contains a placeholder in which the field label will be used.
cases_validation_error_length_invalid_text
Length is invalid The error text displayed when a populated field’s length is greater than the allowed length.
cases_continue_button_text
Continue The button text used for a button that allows a user to continue
cases_cancel_button_text
Cancel The button text used for a button that allows a user to cancel
cases_close_button_text
Close The button text used for a button that allows a user to close a view
cases_navigate_back_content_description
Navigate back The content description used for a button that allows a user to navigate back
cases_create_new_case_button_content_description
Create a new case The content description used for a button that allows a user to create a new case
cases_case_feed_default_title_text
Case #%1$s The title text used for the CaseFeedView toolbar title if the case’s subject is not populated. NOTE: Contains a placeholder in which the case’s ID will be used.
cases_horizontal_rule_today_text
Today The text used in the CaseFeedView when displaying a horizontal rule which separates messages that were sent today
cases_post_comment_error_snackbar_text
Post comment failed The snackbar text for the snackbar displayed when an error occurs while posting a comment to the case feed in CaseFeedView
cases_timestamp_just_now_text
Just now The text displayed for a case timestamp when the last activity occurred less than a minute ago
salesforce_message_input_hint
Send a message… The input hint text on CaseFeedView
salesforce_sent_photo_content_description
Attached photo The content description of a photo that has been sent to the Agent
salesforce_send_message_content_description
Send message The content description of the send message button on CaseFeedView
salesforce_select_photo_content_description
Select a photo The content description of the photo selection button on CaseFeedView
salesforce_received_message_footer_separator
\u2022 The separator symbol between the Agent’s name and the message timestamp in CaseFeedView
case_notification_channel_id
case_updated_channel The Notification Channel ID used when posting case updated notifications on devices running Android Oreo and later. Not translatable.
case_notification_channel_name
Case Updated The name of the Notification Channel used when posting case updated notifications on devices running Android Oreo and later.

Attributes

Resource Name Type Description
cases_toolbarNavIconColor
color The color to use for the toolbar navigation icon
cases_genericErrorImage
reference The drawable to use for the generic error image view
cases_genericErrorImageTint
color The color to tint the generic error image
cases_networkErrorImage
reference The drawable to use for the network error image view
cases_networkErrorImageTint
color The color to tint the network error image
cases_errorMessageTitleStyle
reference The title text style for error views
cases_errorMessageSubtitleStyle
reference The subtitle text style for error views
cases_caseCreatedMessageImage
reference The drawable to use for the view that is displayed when a case is created for a guest user
cases_caseCreatedMessageStyle
reference The message text style to use for the message that is displayed when a case is created for a guest user
cases_dialogTitleStyle
reference The title text style to use for dialog titles
cases_dialogMessageStyle
reference The message text style to use for dialog messages
cases_dialogButtonStyle
reference The button style to use for dialogs
cases_caseListEmptyImage
reference The drawable to use for the empty view displayed when the user has no cases
cases_caseListEmptyMessageStyle
reference The message text style to use for the empty message displayed when the user has no cases

< Back to JavaDoc