blob: e293c938c5fb1fca6b0af6e198aa426c8384fa1c [file] [log] [blame]
Mindy Pereira6f92de62011-12-19 11:31:48 -08001<?xml version="1.0" encoding="utf-8"?>
2<!--
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -08003 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 Pereira6f92de62011-12-19 11:31:48 -080017-->
18<resources>
Vikram Aggarwald7a12cd2012-02-03 09:36:20 -080019 <!-- Boolean value indicating whether the tablet UI should be used. -->
Mindy Pereira6f92de62011-12-19 11:31:48 -080020 <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 Westbrook83061b02012-06-14 18:21:15 -070023 <integer name="conversation_list_search_header_mode">1</integer>
Vikram Aggarwala55b36c2012-01-13 11:45:02 -080024
Andy Huang632721e2012-04-11 16:57:26 -070025 <!-- 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 Aggarwalb9e1a352012-01-24 15:23:38 -080028 <!-- Frequency (in milliseconds) for the refresh of timestamps in conversation list fragments. -->
29 <integer name="timestamp_update_interval">60000</integer>
Vikram Aggarwald7a12cd2012-02-03 09:36:20 -080030
Vikram Aggarwald7a12cd2012-02-03 09:36:20 -080031 <!-- 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 Aggarwale9a81032012-02-22 13:15:35 -080036 <integer name="folder_list_weight">1</integer>
Vikram Aggarwald7a12cd2012-02-03 09:36:20 -080037 <integer name="conversation_list_weight">1</integer>
38 <integer name="conversation_view_weight">1</integer>
Mindy Pereira2c47a112012-02-16 16:08:54 -080039 <!-- Max unread count to show for a folder -->
40 <integer name="maxUnreadCount">999</integer>
Mindy Pereira866d3192012-03-26 09:50:00 -070041 <integer name="swipeScrollSlop">2</integer>
mindypd0649722012-08-27 17:13:52 -070042 <integer name="leaveBehindSwipeScrollSlop">25</integer>
Paul Westbrook50e1b092012-07-21 03:42:44 -070043 <integer name="widget_refresh_delay_ms">4000</integer>
Mindy Pereira8a8c50d2012-02-23 11:09:03 -080044 <integer name="widget_folder_refresh_delay_ms">500</integer>
Mark Weib17c7e82013-08-02 16:07:49 -070045 <!-- Flip interval for account name and unread count -->
46 <integer name="widget_account_unread_flip_ms">5000</integer>
Paul Westbrookc7a070f2012-04-12 01:46:41 -070047 <!-- 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>
mindypead50392012-08-23 11:03:53 -070050 <!-- Delay showing undo bar after a destructive action long enough for the user to process the animations for what just happened -->
Mark Weid243d452012-10-31 16:24:08 -070051 <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 Huangba283732012-06-25 19:14:10 -070054 <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 Huang23014702012-07-09 12:50:36 -070057 <integer name="conversation_webview_viewport_px">980</integer>
Mindy Pereira2efb49e2012-05-16 10:43:00 -070058
Andy Huang7fdf3412013-06-17 18:06:57 -070059 <!-- Whether the list is collapsible in conversation view mode -->
60 <bool name="list_collapsible">true</bool>
Mindy Pereirab4b2a572012-05-16 16:01:40 -070061
62 <!-- Whether to show single or 2 pane search results -->
63 <bool name="show_two_pane_search_results">false</bool>
Mindy Pereira205ae502012-05-17 08:43:59 -070064
Mindy Pereiraa41a57a2012-08-14 14:23:01 -070065 <!-- Whether to show the archive item as disabled rather than hiding it entirely -->
mindypdbc425f2012-09-11 16:15:31 -070066 <bool name="show_disabled_archive_menu_item">false</bool>
Mindy Pereiraa41a57a2012-08-14 14:23:01 -070067
Andrew Sapperstein9a42cb12012-05-24 16:29:29 -070068 <!-- Amount of memory in bytes allocated for image cache -->
Andrew Sappersteinf62c05b2012-05-23 17:52:01 -070069 <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 Pereiraa4968032012-05-25 14:55:36 -070073
74 <!-- Whether to display folder colors in the widget -->
75 <bool name="display_folder_colors_in_widget">false</bool>
Mindy Pereira8fea7b42012-06-12 13:13:15 -070076
77 <integer name="max_num_notification_digest_items">10</integer>
mindyp9e0b2362012-09-09 16:31:21 -070078
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>
mindyp48c25b32012-09-17 14:11:05 -070081
mindyp32d911f2012-09-24 15:14:22 -070082 <!-- Wait at least this long to dismiss the spinner when loading a conversation -->
83 <integer name="conversationview_min_show_loading">250</integer>
84
mindyp48c25b32012-09-17 14:11:05 -070085 <!-- Animation duration for showing the title bar again for SecureConversationViewFragment -->
86 <integer name="title_bar_show_animation_duration">300</integer>
mindypafc9b362012-09-25 09:20:47 -070087
88 <integer name="webview_initial_delay">1000</integer>
Mark Weie16b4dd2012-09-28 15:40:33 -070089
90 <!-- The width or height of the preview will not exceed this -->
91 <integer name="attachment_preview_max_size">256</integer>
mindyp4271bf02012-10-11 08:21:22 -070092
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 Kennedyfafcd172012-11-01 17:23:33 -070095
Scott Kennedya61f9982012-12-18 11:29:08 -080096 <!-- The timeout, in milliseconds, before the "Undo" notification is removed. -->
97 <integer name="undo_notification_timeout">6000</integer>
mindyp88acafa2012-12-21 13:28:44 -080098
99 <!-- The max number of contact images to show in a conversation list item -->
100 <integer name="max_list_item_images">4</integer>
Vikram Aggarwala8dc86f2013-01-07 16:15:13 -0800101
mindypf0798f32013-01-08 09:32:13 -0800102
Vikram Aggarwala8dc86f2013-01-07 16:15:13 -0800103 <!-- True if addresses can be veiled, to show a friendly text message instead. -->
104 <bool name="veiled_address_enabled">false</bool>
mindypf0798f32013-01-08 09:32:13 -0800105
Scott Kennedyd5edd2d2012-12-05 11:11:32 -0800106 <integer name="swipe_senders_length">25</integer>
Scott Kennedyb905d082013-05-07 16:44:34 -0700107
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 Wei479505d2013-03-21 06:04:46 -0700113
Mark Wei81aea352013-07-09 16:00:00 -0700114 <!-- Duration of progress bar animation for attachment previews -->
115 <integer name="ap_progress_animation_duration">4000</integer>
Mark Wei2229edd2013-07-15 22:30:44 -0700116 <!-- Duration of fade in/out animation for attachment previews -->
117 <integer name="ap_fade_animation_duration">500</integer>
Mark Wei81aea352013-07-09 16:00:00 -0700118 <!-- Duration of placeholder pulse animation for attachment previews -->
Andy Huang79c3e1e2013-07-22 13:46:28 -0700119 <integer name="ap_placeholder_animation_duration">1000</integer>
Mark Wei81aea352013-07-09 16:00:00 -0700120 <!-- Delay before showing progress bar animations for attachment previews that are loading -->
121 <integer name="ap_progress_animation_delay">2000</integer>
Mark Wei479505d2013-03-21 06:04:46 -0700122 <!-- Max overflow count to show for attachment previews -->
123 <integer name="ap_overflow_max_count">99</integer>
Scott Kennedy1fea6a32013-07-09 15:58:51 -0700124
125 <!-- Duration of the animations for entering/exiting CAB mode -->
126 <integer name="conv_item_view_cab_anim_duration">350</integer>
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800127</resources>