Resources

< Back to JavaDoc

The following resources are available to be overwritten by applications.

Colors

Resource Name Default Value Description
salesforce_brand_primary
#007F7F The primary brand color. Please consult the Service SDK Customization Guide for more information.
salesforce_brand_secondary
#2872CC The secondary brand color. Please consult the Service SDK Customization Guide for more information.
salesforce_title_color
#FBFBFB The color used for text as it appears in titles throughout the Service SDK UI. Please consult the Service SDK Customization Guide for more information.
salesforce_brand_contrast
#FCFCFC The secondary brand contrast color. Please consult the Service SDK Customization Guide for more information.
salesforce_brand_primary_inverted
@color/salesforce_title_color FUTURE: The primary brand contrast color. Please consult the Service SDK Customization Guide for more information.
salesforce_brand_secondary_inverted
@color/salesforce_brand_contrast FUTURE: The secondary brand contrast color. Please consult the Service SDK Customization Guide for more information.
salesforce_toolbar
#FAFAFA The toolbar background color. Please consult the Service SDK Customization Guide for more information.
salesforce_toolbar_inverted
#010101 The toolbar contrast color, used primarily for text shown on a toolbar. Please consult the Service SDK Customization Guide for more information.
salesforce_contrast_primary
#000000 The primary brand contrast color. Please consult the Service SDK Customization Guide for more information.
salesforce_contrast_secondary
#767676 The secondary brand contrast color. Please consult the Service SDK Customization Guide for more information.
salesforce_contrast_tertiary
#BABABA The tertiary brand contrast color. Please consult the Service SDK Customization Guide for more information.
salesforce_contrast_quaternary
#F1F1F1 The quaternary brand contrast color. Please consult the Service SDK Customization Guide for more information.
salesforce_contrast_inverted
#FFFFFF The inverted brand contrast color. Please consult the Service SDK Customization Guide for more information.
salesforce_feedback_primary
#E74C3C The primary feebdack brand color. Please consult the Service SDK Customization Guide for more information.
salesforce_feedback_secondary
#2ECC71 The secondary feedback brand color. Please consult the Service SDK Customization Guide for more information.
salesforce_feedback_tertiary
#F5A623 The tertiary feedback brand color. Please consult the Service SDK Customization Guide for more information.
salesforce_overlay
#AA000000 The overlay color applied behind floating windows. Please consult the Service SDK Customization Guide for more information.
salesforce_brand_primary_darker
@android:color/transparent DEPRECATED - Brand primary darker has been deprecated in favor of a transparent status bar. Please consult the Service SDK Customization Guide for more information.

Dimensions

Resource Name Default Value Description
salesforce_fab_default_size
66dp
salesforce_fab_default_icon_size
24dp
salesforce_fab_elevation
8dp
salesforce_elevation
8dp
salesforce_form_label_text_size
12sp
salesforce_form_error_text_size
12sp
salesforce_form_counter_text_size
12sp
salesforce_input_minimum_height
48dp
salesforce_pick_list_item_height
56dp
salesforce_toolbar_elevation
4dp
salesforce_message_feed_horizontal_margin
16dp
salesforce_minimized_view_corner_radius
8dp
salesforce_message_bubble_corner_radius
4dp
salesforce_message_maximum_photo_height
240dp
salesforce_message_minimum_photo_height
48dp
salesforce_message_minimum_photo_width
48dp
salesforce_message_linkpreview_ogimage_height
115dp

Strings

Resource Name Default Value Description
salesforce_message_input_hint
Type a message
salesforce_sent_photo_content_description
Attached photo
salesforce_send_message_content_description
Send message
salesforce_select_photo_content_description
Select a photo
salesforce_close_minimize_view_content_description
Close minimized view
salesforce_received_message_footer_separator
\u2022
chat_connection_banner_connected_text
Connected! Message text shown to users in a banner when they reconnect during a chat session
chat_connection_banner_disconnected_text
Connection Lost Message text shown to users in a banner when they are disconnected during a chat session

< Back to JavaDoc