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> |
Paul Westbrook | c7a070f | 2012-04-12 01:46:41 -0700 | [diff] [blame] | 45 | <!-- We don't want the unread count to flicker too much in the action bar, when a lot of |
| 46 | activity. Throttle loader updates. --> |
| 47 | <integer name="folder_item_refresh_delay_ms">500</integer> |
mindyp | ead5039 | 2012-08-23 11:03:53 -0700 | [diff] [blame] | 48 | <!-- 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] | 49 | <integer name="show_undo_bar_delay_ms">200</integer> |
| 50 | <!-- Delay dismissing undo bar after a touch so we know whether to hide the action bar or to reposition it during view mode change --> |
| 51 | <integer name="dismiss_undo_bar_delay_ms">300</integer> |
Andy Huang | ba28373 | 2012-06-25 19:14:10 -0700 | [diff] [blame] | 52 | <integer name="conversation_desired_font_size_px">14</integer> |
| 53 | <!-- matches 'font-size' style in template_conversation_upper.html --> |
| 54 | <integer name="conversation_unstyled_font_size_px">13</integer> |
Andy Huang | 2301470 | 2012-07-09 12:50:36 -0700 | [diff] [blame] | 55 | <integer name="conversation_webview_viewport_px">980</integer> |
Mindy Pereira | 2efb49e | 2012-05-16 10:43:00 -0700 | [diff] [blame] | 56 | |
Andy Huang | 7fdf341 | 2013-06-17 18:06:57 -0700 | [diff] [blame] | 57 | <!-- Whether the list is collapsible in conversation view mode --> |
| 58 | <bool name="list_collapsible">true</bool> |
Mindy Pereira | b4b2a57 | 2012-05-16 16:01:40 -0700 | [diff] [blame] | 59 | |
| 60 | <!-- Whether to show single or 2 pane search results --> |
| 61 | <bool name="show_two_pane_search_results">false</bool> |
Mindy Pereira | 205ae50 | 2012-05-17 08:43:59 -0700 | [diff] [blame] | 62 | |
Mindy Pereira | a41a57a | 2012-08-14 14:23:01 -0700 | [diff] [blame] | 63 | <!-- Whether to show the archive item as disabled rather than hiding it entirely --> |
mindyp | dbc425f | 2012-09-11 16:15:31 -0700 | [diff] [blame] | 64 | <bool name="show_disabled_archive_menu_item">false</bool> |
Mindy Pereira | a41a57a | 2012-08-14 14:23:01 -0700 | [diff] [blame] | 65 | |
Mindy Pereira | 205ae50 | 2012-05-17 08:43:59 -0700 | [diff] [blame] | 66 | <!-- Whether to show conversation subject in conversation view --> |
| 67 | <bool name="show_conversation_subject">true</bool> |
Andrew Sapperstein | f62c05b | 2012-05-23 17:52:01 -0700 | [diff] [blame] | 68 | |
Andrew Sapperstein | 9a42cb1 | 2012-05-24 16:29:29 -0700 | [diff] [blame] | 69 | <!-- Amount of memory in bytes allocated for image cache --> |
Andrew Sapperstein | f62c05b | 2012-05-23 17:52:01 -0700 | [diff] [blame] | 70 | <integer name="config_image_cache_max_bytes">1500000</integer> |
| 71 | |
| 72 | <!-- Number of decoded contact photo bitmaps retained in an LRU cache --> |
| 73 | <integer name="config_image_cache_max_bitmaps">24</integer> |
Mindy Pereira | a496803 | 2012-05-25 14:55:36 -0700 | [diff] [blame] | 74 | |
| 75 | <!-- Whether to display folder colors in the widget --> |
| 76 | <bool name="display_folder_colors_in_widget">false</bool> |
Mindy Pereira | 8fea7b4 | 2012-06-12 13:13:15 -0700 | [diff] [blame] | 77 | |
| 78 | <integer name="max_num_notification_digest_items">10</integer> |
mindyp | 9e0b236 | 2012-09-09 16:31:21 -0700 | [diff] [blame] | 79 | |
| 80 | <!-- Wait at least this long for the webview to render conversation content before showing the loading dialog --> |
| 81 | <integer name="conversationview_show_loading_delay">500</integer> |
mindyp | 48c25b3 | 2012-09-17 14:11:05 -0700 | [diff] [blame] | 82 | |
mindyp | 32d911f | 2012-09-24 15:14:22 -0700 | [diff] [blame] | 83 | <!-- Wait at least this long to dismiss the spinner when loading a conversation --> |
| 84 | <integer name="conversationview_min_show_loading">250</integer> |
| 85 | |
mindyp | 48c25b3 | 2012-09-17 14:11:05 -0700 | [diff] [blame] | 86 | <!-- Animation duration for showing the title bar again for SecureConversationViewFragment --> |
| 87 | <integer name="title_bar_show_animation_duration">300</integer> |
mindyp | afc9b36 | 2012-09-25 09:20:47 -0700 | [diff] [blame] | 88 | |
| 89 | <integer name="webview_initial_delay">1000</integer> |
Mark Wei | e16b4dd | 2012-09-28 15:40:33 -0700 | [diff] [blame] | 90 | |
| 91 | <!-- The width or height of the preview will not exceed this --> |
| 92 | <integer name="attachment_preview_max_size">256</integer> |
mindyp | 4271bf0 | 2012-10-11 08:21:22 -0700 | [diff] [blame] | 93 | |
| 94 | <!-- Whether or not to use a nice transition when showing the folder list fragment; used in 2-pane layouts --> |
| 95 | <integer name="use_folder_list_fragment_transition">1</integer> |
Scott Kennedy | fafcd17 | 2012-11-01 17:23:33 -0700 | [diff] [blame] | 96 | |
Scott Kennedy | a61f998 | 2012-12-18 11:29:08 -0800 | [diff] [blame] | 97 | <!-- The timeout, in milliseconds, before the "Undo" notification is removed. --> |
| 98 | <integer name="undo_notification_timeout">6000</integer> |
mindyp | 88acafa | 2012-12-21 13:28:44 -0800 | [diff] [blame] | 99 | |
| 100 | <!-- The max number of contact images to show in a conversation list item --> |
| 101 | <integer name="max_list_item_images">4</integer> |
Vikram Aggarwal | a8dc86f | 2013-01-07 16:15:13 -0800 | [diff] [blame] | 102 | |
mindyp | f0798f3 | 2013-01-08 09:32:13 -0800 | [diff] [blame] | 103 | |
Vikram Aggarwal | a8dc86f | 2013-01-07 16:15:13 -0800 | [diff] [blame] | 104 | <!-- True if addresses can be veiled, to show a friendly text message instead. --> |
| 105 | <bool name="veiled_address_enabled">false</bool> |
mindyp | f0798f3 | 2013-01-08 09:32:13 -0800 | [diff] [blame] | 106 | |
| 107 | <!-- Whether to show the priority indicator inline with the senders in conversation list view --> |
| 108 | <bool name="inline_personal_level">true</bool> |
| 109 | |
Scott Kennedy | d5edd2d | 2012-12-05 11:11:32 -0800 | [diff] [blame] | 110 | <integer name="swipe_senders_length">25</integer> |
Scott Kennedy | b905d08 | 2013-05-07 16:44:34 -0700 | [diff] [blame] | 111 | |
| 112 | <!-- Number of menu items to display in the ActionBar --> |
| 113 | <integer name="actionbar_max_items">3</integer> |
| 114 | |
| 115 | <!-- Number of menu items to hide from the ActionBar by subtracting from actionbar_max_items in non-cab mode --> |
| 116 | <integer name="actionbar_hidden_non_cab_items_no_physical_button">1</integer> |
Mark Wei | 479505d | 2013-03-21 06:04:46 -0700 | [diff] [blame] | 117 | |
| 118 | <!-- Max overflow count to show for attachment previews --> |
| 119 | <integer name="ap_overflow_max_count">99</integer> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 120 | </resources> |