1<?xml version="1.0" encoding="utf-8"?>
2<!--
3    Copyright (C) 2018 The Android Open Source Project
4
5    Licensed under the Apache License, Version 2.0 (the "License");
6    you may not use this file except in compliance with the License.
7    You may obtain a copy of the License at
8
9        http://www.apache.org/licenses/LICENSE-2.0
10
11    Unless required by applicable law or agreed to in writing, software
12    distributed under the License is distributed on an "AS IS" BASIS,
13    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14    See the License for the specific language governing permissions and
15    limitations under the License.
16-->
17<resources>
18    <!-- Whether heads-up notifications should be suppressed and throttled.
19         When set to false, the notification will not use the queue for throttling,
20         prioritisation and expiration -->
21    <bool name="config_suppressAndThrottleHeadsUp">true</bool>
22    <!-- Whether heads-up notifications should be expired from queue when driving. -->
23    <bool name="config_expireHeadsUpWhenDriving">true</bool>
24    <!-- Whether heads-up notifications should be expired from queue when parked. -->
25    <bool name="config_expireHeadsUpWhenParked">true</bool>
26    <!-- Whether active heads-up notifications should be dismissed when
27     Notification center is visible. -->
28    <bool name="config_dismissHeadsUpWhenNotificationCenterOpens">true</bool>
29    <!-- Whether navigation heads-up notifications should be shown. May be set to false if there is a dedicated screen for navigation. -->
30    <bool name="config_showNavigationHeadsup">true</bool>
31    <!-- Whether card background color can be set or not for category Notification.CATEGORY_NAVIGATION. -->
32    <bool name="config_enableCardBackgroundColorForCategoryNavigation">false</bool>
33    <!-- Whether card background color can be set or not for notifications from system apps. -->
34    <bool name="config_enableCardBackgroundColorForSystemApp">false</bool>
35    <!-- Whether small icon accent color can be set or not. -->
36    <bool name="config_enableSmallIconAccentColor">true</bool>
37    <!-- Whether to show header for the notifications list -->
38    <bool name="config_showHeaderForNotifications">false</bool>
39    <!-- Whether to show for the notifications list -->
40    <bool name="config_showFooterForNotifications">true</bool>
41    <!-- Whether to show Recents/Older header for notifications list -->
42    <bool name="config_showRecentAndOldHeaders">true</bool>
43    <!-- If this is true, the launcher icon will be used to distinguish the app rather than using
44         the required small icon from the Notification builder. When this is true, the large icon
45         will also remain unused and notification header will be hidden.
46         If this is false, small icon will be used to distinguish the app, large icon will be used
47         in notification body and notification header will be shown.-->
48    <bool name="config_useLauncherIcon">true</bool>
49    <!-- Whether to apply notification dismiss animation in the bottom up order on clear all notifications event -->
50    <bool name="config_clearAllNotificationsAnimationFromBottomUp">true</bool>
51    <!-- Whether to collapse notification shade panel on clear all notification animation end -->
52    <bool name="config_collapseShadePanelAfterClearAllNotifications">false</bool>
53    <!-- Whether to collapse notification shade panel after manage button click -->
54    <bool name="config_collapseShadePanelAfterManageButtonPress">true</bool>
55    <!-- The number of lines of body text to show in HUNs -->
56    <integer name="config_headsUpNotificationMaxBodyLines">3</integer>
57    <!-- The number of lines of body text to show for notifications inside the notification panel -->
58    <integer name="config_notificationPanelMaxBodyLines">3</integer>
59    <!-- The additional number of characters to show in body text for single message notifications
60         inside the notification panel after expansion. -->
61    <integer name="config_additionalCharactersToShowInSingleMessageExpandedNotification">120</integer>
62    <!-- The maximum number of messages to show in body text for message notifications inside the
63         notification panel. -->
64    <integer name="config_maxNumberOfMessagesInPanel">7</integer>
65    <!-- The maximum number of lines to show in body text for message notifications inside the
66         notification panel. Must be greater than config_maxNumberOfMessagesInPanel. -->
67    <integer name="config_maxNumberOfMessageLinesInPanel">9</integer>
68    <!-- The number of notifications to add when expanding a group notification. -->
69    <integer name="config_expandedGroupNotificationIncrementSize">5</integer>
70    <!-- The minimum number of notifications from same application before grouping is applied. -->
71    <integer name="config_minimumGroupingThreshold">4</integer>
72    <!-- Animation helper for animating heads up notification showing on screen and leaving the screen. -->
73    <string name="config_headsUpNotificationAnimationHelper" translatable="false">
74        com.android.car.notification.headsup.animationhelper.CarHeadsUpNotificationTopAnimationHelper</string>
75    <!-- Whether heads-up notifications should be shown on the bottom. If false, heads-up
76         notifications will be shown pushed to the top of their parent container. If true, they will
77         be shown pushed to the bottom of their parent container. If true, then should override
78         config_headsUpNotificationAnimationHelper to use a different AnimationHelper, such as
79         com.android.car.notification.headsup.animationhelper.
80         CarHeadsUpNotificationBottomAnimationHelper. -->
81    <bool name="config_showHeadsUpNotificationOnBottom">false</bool>
82    <!-- Whether heads-up notifications is dismissible in vertical directions. If set to false
83         the notification would be dismissible in horizontal directions. -->
84    <bool name="config_isHeadsUpNotificationDismissibleVertically">false</bool>
85    <!-- Whether to always show Notification's dismiss button even without the need to have rotary focus. -->
86    <bool name="config_alwaysShowNotificationDismissButton">false</bool>
87    <!-- Whether to show action icons inside action buttons. -->
88    <bool name="config_showIconsInActionButtons">true</bool>
89    <!-- Whether to enable play for message notifications. -->
90    <bool name="config_enableMessageNotificationPlay">true</bool>
91    <!-- Whether to enable direct reply for message notifications. -->
92    <bool name="config_enableMessageNotificationDirectReply">true</bool>
93    <!-- Whether to focus on HUN when new HUN is revealed. -->
94    <bool name="config_focusHUNWhenShown">true</bool>
95    <!-- Alpha for older notifications when config_showRecentAndOldHeaders is true -->
96    <item name="config_olderNotificationsAlpha" format="float" type="dimen">1</item>
97    <!-- Whether to show expansion header in group notifications.  -->
98    <bool name="config_showExpansionHeader">true</bool>
99    <!-- Whether to use custom colors for message notification count text button. -->
100    <bool name="config_useCustomColorForMessageNotificationCountTextButton">true</bool>
101    <!-- Alpha for disabled count text button in message notifications. -->
102    <item name="config_disabledCountTextButtonAlpha" format="float" type="dimen">1</item>
103    <!-- When true, ignore the notification color for warning notification background and use @color/warning_background_color instead. -->
104    <bool name="config_useCustomColorsForWarningNotification">false</bool>
105    <!-- When true, ignore the notification color for information notification background and use @color/information_background_color instead. -->
106    <bool name="config_useCustomColorsForInformationNotification">false</bool>
107    <!-- When true, message HUN will be dismissed when reply or play action buttons are pressed. -->
108    <bool name="config_dismissMessageHunWhenReplyOrPlayActionButtonPressed">false</bool>
109</resources>
110