Mindy Pereira | 6f92de6 | 2011-12-19 11:31:48 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 3 | Copyright (C) 2011 Google Inc. |
| 4 | Licensed to The Android Open Source Project. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
Mindy Pereira | 6f92de6 | 2011-12-19 11:31:48 -0800 | [diff] [blame] | 17 | --> |
| 18 | <resources> |
Vikram Aggarwal | d7a12cd | 2012-02-03 09:36:20 -0800 | [diff] [blame] | 19 | <!-- Boolean value indicating whether the tablet UI should be used. --> |
Mindy Pereira | 6f92de6 | 2011-12-19 11:31:48 -0800 | [diff] [blame] | 20 | <integer name="use_tablet_ui">0</integer> |
| 21 | <integer name="conversation_list_header_mode">1</integer> |
| 22 | <integer name="conversation_header_mode">1</integer> |
Paul Westbrook | 83061b0 | 2012-06-14 18:21:15 -0700 | [diff] [blame] | 23 | <integer name="conversation_list_search_header_mode">1</integer> |
Vikram Aggarwal | a55b36c | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 24 | |
Andy Huang | 632721e | 2012-04-11 16:57:26 -0700 | [diff] [blame] | 25 | <!-- left/right conversations will auto-load if they have no more than this number of messages --> |
| 26 | <integer name="max_auto_load_messages">20</integer> |
| 27 | |
Vikram Aggarwal | b9e1a35 | 2012-01-24 15:23:38 -0800 | [diff] [blame] | 28 | <!-- Frequency (in milliseconds) for the refresh of timestamps in conversation list fragments. --> |
| 29 | <integer name="timestamp_update_interval">60000</integer> |
Vikram Aggarwal | d7a12cd | 2012-02-03 09:36:20 -0800 | [diff] [blame] | 30 | |
Vikram Aggarwal | d7a12cd | 2012-02-03 09:36:20 -0800 | [diff] [blame] | 31 | <!-- Relative weights of the different views. These three |
| 32 | determine how much of the screen width is taken by the |
| 33 | different views. For the default layout (phone), these values |
| 34 | are equal. These are only used in TwoPaneLayout, so they need |
| 35 | to be specified for sw600dp and sw720dp layouts. --> |
Vikram Aggarwal | e9a8103 | 2012-02-22 13:15:35 -0800 | [diff] [blame] | 36 | <integer name="folder_list_weight">1</integer> |
Vikram Aggarwal | d7a12cd | 2012-02-03 09:36:20 -0800 | [diff] [blame] | 37 | <integer name="conversation_list_weight">1</integer> |
| 38 | <integer name="conversation_view_weight">1</integer> |
Mindy Pereira | 2c47a11 | 2012-02-16 16:08:54 -0800 | [diff] [blame] | 39 | <!-- Max unread count to show for a folder --> |
| 40 | <integer name="maxUnreadCount">999</integer> |
Mindy Pereira | 866d319 | 2012-03-26 09:50:00 -0700 | [diff] [blame] | 41 | <integer name="swipeScrollSlop">2</integer> |
mindyp | d064972 | 2012-08-27 17:13:52 -0700 | [diff] [blame] | 42 | <integer name="leaveBehindSwipeScrollSlop">25</integer> |
Paul Westbrook | 50e1b09 | 2012-07-21 03:42:44 -0700 | [diff] [blame] | 43 | <integer name="widget_refresh_delay_ms">4000</integer> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 44 | <integer name="widget_folder_refresh_delay_ms">500</integer> |
Mark Wei | b17c7e8 | 2013-08-02 16:07:49 -0700 | [diff] [blame] | 45 | <!-- Flip interval for account name and unread count --> |
| 46 | <integer name="widget_account_unread_flip_ms">5000</integer> |
Paul Westbrook | c7a070f | 2012-04-12 01:46:41 -0700 | [diff] [blame] | 47 | <!-- We don't want the unread count to flicker too much in the action bar, when a lot of |
| 48 | activity. Throttle loader updates. --> |
| 49 | <integer name="folder_item_refresh_delay_ms">500</integer> |
mindyp | ead5039 | 2012-08-23 11:03:53 -0700 | [diff] [blame] | 50 | <!-- Delay showing undo bar after a destructive action long enough for the user to process the animations for what just happened --> |
Mark Wei | d243d45 | 2012-10-31 16:24:08 -0700 | [diff] [blame] | 51 | <integer name="show_undo_bar_delay_ms">200</integer> |
| 52 | <!-- Delay dismissing undo bar after a touch so we know whether to hide the action bar or to reposition it during view mode change --> |
| 53 | <integer name="dismiss_undo_bar_delay_ms">300</integer> |
Andy Huang | ba28373 | 2012-06-25 19:14:10 -0700 | [diff] [blame] | 54 | <integer name="conversation_desired_font_size_px">14</integer> |
| 55 | <!-- matches 'font-size' style in template_conversation_upper.html --> |
| 56 | <integer name="conversation_unstyled_font_size_px">13</integer> |
Andy Huang | 2301470 | 2012-07-09 12:50:36 -0700 | [diff] [blame] | 57 | <integer name="conversation_webview_viewport_px">980</integer> |
Mindy Pereira | 2efb49e | 2012-05-16 10:43:00 -0700 | [diff] [blame] | 58 | |
Andy Huang | 7fdf341 | 2013-06-17 18:06:57 -0700 | [diff] [blame] | 59 | <!-- Whether the list is collapsible in conversation view mode --> |
| 60 | <bool name="list_collapsible">true</bool> |
Mindy Pereira | b4b2a57 | 2012-05-16 16:01:40 -0700 | [diff] [blame] | 61 | |
| 62 | <!-- Whether to show single or 2 pane search results --> |
| 63 | <bool name="show_two_pane_search_results">false</bool> |
Mindy Pereira | 205ae50 | 2012-05-17 08:43:59 -0700 | [diff] [blame] | 64 | |
Mindy Pereira | a41a57a | 2012-08-14 14:23:01 -0700 | [diff] [blame] | 65 | <!-- Whether to show the archive item as disabled rather than hiding it entirely --> |
mindyp | dbc425f | 2012-09-11 16:15:31 -0700 | [diff] [blame] | 66 | <bool name="show_disabled_archive_menu_item">false</bool> |
Mindy Pereira | a41a57a | 2012-08-14 14:23:01 -0700 | [diff] [blame] | 67 | |
Andrew Sapperstein | 9a42cb1 | 2012-05-24 16:29:29 -0700 | [diff] [blame] | 68 | <!-- Amount of memory in bytes allocated for image cache --> |
Andrew Sapperstein | f62c05b | 2012-05-23 17:52:01 -0700 | [diff] [blame] | 69 | <integer name="config_image_cache_max_bytes">1500000</integer> |
| 70 | |
| 71 | <!-- Number of decoded contact photo bitmaps retained in an LRU cache --> |
| 72 | <integer name="config_image_cache_max_bitmaps">24</integer> |
Mindy Pereira | a496803 | 2012-05-25 14:55:36 -0700 | [diff] [blame] | 73 | |
| 74 | <!-- Whether to display folder colors in the widget --> |
| 75 | <bool name="display_folder_colors_in_widget">false</bool> |
Mindy Pereira | 8fea7b4 | 2012-06-12 13:13:15 -0700 | [diff] [blame] | 76 | |
| 77 | <integer name="max_num_notification_digest_items">10</integer> |
mindyp | 9e0b236 | 2012-09-09 16:31:21 -0700 | [diff] [blame] | 78 | |
| 79 | <!-- Wait at least this long for the webview to render conversation content before showing the loading dialog --> |
| 80 | <integer name="conversationview_show_loading_delay">500</integer> |
mindyp | 48c25b3 | 2012-09-17 14:11:05 -0700 | [diff] [blame] | 81 | |
mindyp | 32d911f | 2012-09-24 15:14:22 -0700 | [diff] [blame] | 82 | <!-- Wait at least this long to dismiss the spinner when loading a conversation --> |
| 83 | <integer name="conversationview_min_show_loading">250</integer> |
| 84 | |
mindyp | 48c25b3 | 2012-09-17 14:11:05 -0700 | [diff] [blame] | 85 | <!-- Animation duration for showing the title bar again for SecureConversationViewFragment --> |
| 86 | <integer name="title_bar_show_animation_duration">300</integer> |
mindyp | afc9b36 | 2012-09-25 09:20:47 -0700 | [diff] [blame] | 87 | |
| 88 | <integer name="webview_initial_delay">1000</integer> |
Mark Wei | e16b4dd | 2012-09-28 15:40:33 -0700 | [diff] [blame] | 89 | |
| 90 | <!-- The width or height of the preview will not exceed this --> |
| 91 | <integer name="attachment_preview_max_size">256</integer> |
mindyp | 4271bf0 | 2012-10-11 08:21:22 -0700 | [diff] [blame] | 92 | |
| 93 | <!-- Whether or not to use a nice transition when showing the folder list fragment; used in 2-pane layouts --> |
| 94 | <integer name="use_folder_list_fragment_transition">1</integer> |
Scott Kennedy | fafcd17 | 2012-11-01 17:23:33 -0700 | [diff] [blame] | 95 | |
Scott Kennedy | a61f998 | 2012-12-18 11:29:08 -0800 | [diff] [blame] | 96 | <!-- The timeout, in milliseconds, before the "Undo" notification is removed. --> |
| 97 | <integer name="undo_notification_timeout">6000</integer> |
mindyp | 88acafa | 2012-12-21 13:28:44 -0800 | [diff] [blame] | 98 | |
| 99 | <!-- The max number of contact images to show in a conversation list item --> |
| 100 | <integer name="max_list_item_images">4</integer> |
Vikram Aggarwal | a8dc86f | 2013-01-07 16:15:13 -0800 | [diff] [blame] | 101 | |
mindyp | f0798f3 | 2013-01-08 09:32:13 -0800 | [diff] [blame] | 102 | |
Vikram Aggarwal | a8dc86f | 2013-01-07 16:15:13 -0800 | [diff] [blame] | 103 | <!-- True if addresses can be veiled, to show a friendly text message instead. --> |
| 104 | <bool name="veiled_address_enabled">false</bool> |
mindyp | f0798f3 | 2013-01-08 09:32:13 -0800 | [diff] [blame] | 105 | |
Scott Kennedy | d5edd2d | 2012-12-05 11:11:32 -0800 | [diff] [blame] | 106 | <integer name="swipe_senders_length">25</integer> |
Scott Kennedy | b905d08 | 2013-05-07 16:44:34 -0700 | [diff] [blame] | 107 | |
| 108 | <!-- Number of menu items to display in the ActionBar --> |
| 109 | <integer name="actionbar_max_items">3</integer> |
| 110 | |
| 111 | <!-- Number of menu items to hide from the ActionBar by subtracting from actionbar_max_items in non-cab mode --> |
| 112 | <integer name="actionbar_hidden_non_cab_items_no_physical_button">1</integer> |
Mark Wei | 479505d | 2013-03-21 06:04:46 -0700 | [diff] [blame] | 113 | |
Mark Wei | 81aea35 | 2013-07-09 16:00:00 -0700 | [diff] [blame] | 114 | <!-- Duration of progress bar animation for attachment previews --> |
| 115 | <integer name="ap_progress_animation_duration">4000</integer> |
Mark Wei | 2229edd | 2013-07-15 22:30:44 -0700 | [diff] [blame] | 116 | <!-- Duration of fade in/out animation for attachment previews --> |
| 117 | <integer name="ap_fade_animation_duration">500</integer> |
Mark Wei | 81aea35 | 2013-07-09 16:00:00 -0700 | [diff] [blame] | 118 | <!-- Duration of placeholder pulse animation for attachment previews --> |
Andy Huang | 79c3e1e | 2013-07-22 13:46:28 -0700 | [diff] [blame] | 119 | <integer name="ap_placeholder_animation_duration">1000</integer> |
Mark Wei | 81aea35 | 2013-07-09 16:00:00 -0700 | [diff] [blame] | 120 | <!-- Delay before showing progress bar animations for attachment previews that are loading --> |
| 121 | <integer name="ap_progress_animation_delay">2000</integer> |
Mark Wei | 479505d | 2013-03-21 06:04:46 -0700 | [diff] [blame] | 122 | <!-- Max overflow count to show for attachment previews --> |
| 123 | <integer name="ap_overflow_max_count">99</integer> |
Scott Kennedy | 1fea6a3 | 2013-07-09 15:58:51 -0700 | [diff] [blame] | 124 | |
| 125 | <!-- Duration of the animations for entering/exiting CAB mode --> |
| 126 | <integer name="conv_item_view_cab_anim_duration">350</integer> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 127 | </resources> |