1<?xml version="1.0" encoding="utf-8"?>
2<!--
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.
17-->
18<resources>
19    <!-- Boolean value indicating whether the tablet UI should be used. -->
20    <bool name="use_tablet_ui">false</bool>
21    <integer name="conversation_header_mode">1</integer>
22    <integer name="conversation_list_search_header_mode">1</integer>
23
24    <!-- left/right conversations will auto-load if they have no more than this number of messages -->
25    <integer name="max_auto_load_messages">20</integer>
26
27    <!-- Frequency (in milliseconds) for the refresh of timestamps in conversation list fragments. -->
28    <integer name="timestamp_update_interval">60000</integer>
29
30    <integer name="conversation_list_weight">2</integer>
31    <integer name="conversation_view_weight">3</integer>
32    <!-- Max unread count to show for a folder -->
33    <integer name="maxUnreadCount">99</integer>
34    <integer name="swipeScrollSlop">2</integer>
35    <integer name="leaveBehindSwipeScrollSlop">25</integer>
36    <integer name="widget_refresh_delay_ms">4000</integer>
37    <integer name="widget_folder_refresh_delay_ms">500</integer>
38    <!-- Flip interval for account name and unread count -->
39    <integer name="widget_account_unread_flip_ms">5000</integer>
40    <!-- We don't want the unread count to flicker too much in the action bar, when a lot of
41    activity.  Throttle loader updates. -->
42    <integer name="folder_item_refresh_delay_ms">500</integer>
43    <!-- Delay showing undo bar after a destructive action long enough for the user to process the animations for what just happened -->
44    <integer name="show_undo_bar_delay_ms">200</integer>
45    <!-- Delay dismissing undo bar after a touch so we know whether to hide the action bar or to reposition it during view mode change -->
46    <integer name="dismiss_undo_bar_delay_ms">300</integer>
47    <!-- Amount of time spent animating the popup and push down of the snack bar -->
48    <integer name="toast_bar_animation_duration_ms">300</integer>
49    <!-- The smallest amount of time the toast bar must remain visible -->
50    <integer name="toast_bar_min_duration_ms">500</integer>
51    <!-- The largest amount of time the toast bar can remain visible -->
52    <integer name="toast_bar_max_duration_ms">8000</integer>
53    <integer name="conversation_desired_font_size_px">14</integer>
54    <!-- matches 'font-size' style in template_conversation_upper.html -->
55    <integer name="conversation_unstyled_font_size_px">13</integer>
56    <integer name="conversation_webview_viewport_px">980</integer>
57
58    <!-- Whether we are in landscape mode on a tablet or not -->
59    <bool name="is_tablet_landscape">false</bool>
60
61    <!-- Amount of memory in bytes allocated for image cache -->
62    <integer name="config_image_cache_max_bytes">1500000</integer>
63
64    <!-- Number of decoded contact photo bitmaps retained in an LRU cache -->
65    <integer name="config_image_cache_max_bitmaps">24</integer>
66
67    <!-- Whether to display folder colors in the widget -->
68    <bool name="display_folder_colors_in_widget">true</bool>
69
70    <integer name="max_num_notification_digest_items">10</integer>
71
72    <!-- Wait at least this long for the webview to render conversation content before showing the loading dialog -->
73    <integer name="conversationview_show_loading_delay">500</integer>
74
75    <!-- Wait at least this long to dismiss the spinner when loading a conversation -->
76    <integer name="conversationview_min_show_loading">500</integer>
77
78    <integer name="webview_initial_delay">1000</integer>
79
80    <!-- The width or height of the preview will not exceed this -->
81    <integer name="attachment_preview_max_size">256</integer>
82
83    <!-- The timeout, in milliseconds, before the "Undo" notification is removed. -->
84    <integer name="undo_notification_timeout">6000</integer>
85
86    <!-- The max number of contact images to show in a conversation list item -->
87    <integer name="max_list_item_images">4</integer>
88
89
90    <!-- True if addresses can be veiled, to show a friendly text message instead. -->
91    <bool name="veiled_address_enabled">false</bool>
92
93    <integer name="swipe_senders_length">25</integer>
94
95    <!-- Duration of the animations for entering/exiting CAB mode -->
96    <integer name="conv_item_view_cab_anim_duration">250</integer>
97
98    <!-- Number of nested folders to display in the conversation list, before hiding the remainder under "Show more" -->
99    <integer name="nested_folders_collapse_threshold">1</integer>
100
101    <!-- True if messages should show inline images by default. -->
102    <bool name="always_show_images_default">false</bool>
103
104    <!-- Number of characters allowed for a vacation responder subject. -->
105    <integer name="vacation_responder_subject_length">500</integer>
106    <!-- Number of characters allowed for a vacation responder body. -->
107    <integer name="vacation_responder_body_length">1024000</integer>
108
109    <!-- Indicates whether help URLs should be opened by a system browser outside the application or with a webview inside the application -->
110    <bool name="openHelpWithBrowser">true</bool>
111
112    <!-- Used to force 70% of max width in compose for landscape tablet -->
113    <integer name="compose_padding_weight">0</integer>
114    <!-- Whether or not we should scroll down so cc aligns with the top -->
115    <bool name="auto_scroll_cc">true</bool>
116
117    <!-- Maximum number of folders to be displayed in the thread list -->
118    <integer name="conversation_list_max_folder_count">4</integer>
119    <integer name="folder_max_width_proportion">31</integer>
120    <integer name="folder_cell_max_width_proportion">22</integer>
121
122    <!-- Maximum width in characters of the senders in the thread list -->
123    <integer name="senders_with_attachment_lengths">25</integer>
124    <integer name="senders_lengths">27</integer>
125</resources>
126