80 lines
5.4 KiB
XML
80 lines
5.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2018 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<resources>
|
|
<!-- Whether navigation heads-up notifications should be shown. May be set to false if there is a dedicated screen for navigation. -->
|
|
<bool name="config_showNavigationHeadsup">true</bool>
|
|
<!-- Whether card background color can be set or not for category Notification.CATEGORY_NAVIGATION. -->
|
|
<bool name="config_enableCardBackgroundColorForCategoryNavigation">false</bool>
|
|
<!-- Whether card background color can be set or not for notifications from system apps. -->
|
|
<bool name="config_enableCardBackgroundColorForSystemApp">false</bool>
|
|
<!-- Whether small icon accent color can be set or not. -->
|
|
<bool name="config_enableSmallIconAccentColor">true</bool>
|
|
<!-- Whether to show header for the notifications list -->
|
|
<bool name="config_showHeaderForNotifications">false</bool>
|
|
<!-- Whether to show for the notifications list -->
|
|
<bool name="config_showFooterForNotifications">true</bool>
|
|
<!-- Whether to show Recents/Older header for notifications list -->
|
|
<bool name="config_showRecentAndOldHeaders">true</bool>
|
|
<!-- If this is true, the launcher icon will be used to distinguish the app rather than using
|
|
the required small icon from the Notification builder. When this is true, the large icon
|
|
will also remain unused and notification header will be hidden.
|
|
If this is false, small icon will be used to distinguish the app, large icon will be used
|
|
in notification body and notification header will be shown.-->
|
|
<bool name="config_useLauncherIcon">true</bool>
|
|
<!-- Whether to apply notification dismiss animation in the bottom up order on clear all notifications event -->
|
|
<bool name="config_clearAllNotificationsAnimationFromBottomUp">true</bool>
|
|
<!-- Whether to collapse notification shade panel on clear all notification animation end -->
|
|
<bool name="config_collapseShadePanelAfterClearAllNotifications">false</bool>
|
|
<!-- The number of lines of body text to show in HUNs -->
|
|
<integer name="config_headsUpNotificationMaxBodyLines">3</integer>
|
|
<!-- The number of lines of body text to show for notifications inside the notification panel -->
|
|
<integer name="config_notificationPanelMaxBodyLines">3</integer>
|
|
<!-- The additional number of characters to show in body text for single message notifications
|
|
inside the notification panel after expansion. -->
|
|
<integer name="config_additionalCharactersToShowInSingleMessageExpandedNotification">120</integer>
|
|
<!-- The maximum number of messages to show in body text for message notifications inside the
|
|
notification panel. -->
|
|
<integer name="config_maxNumberOfMessagesInPanel">7</integer>
|
|
<!-- The maximum number of lines to show in body text for message notifications inside the
|
|
notification panel. Must be greater than config_maxNumberOfMessagesInPanel. -->
|
|
<integer name="config_maxNumberOfMessageLinesInPanel">9</integer>
|
|
<!-- The number of notifications to add when expanding a group notification. -->
|
|
<integer name="config_expandedGroupNotificationIncrementSize">5</integer>
|
|
<!-- The minimum number of notifications from same application before grouping is applied. -->
|
|
<integer name="config_minimumGroupingThreshold">4</integer>
|
|
<!-- Animation helper for animating heads up notification showing on screen and leaving the screen. -->
|
|
<string name="config_headsUpNotificationAnimationHelper" translatable="false">
|
|
com.android.car.notification.headsup.animationhelper.CarHeadsUpNotificationTopAnimationHelper</string>
|
|
<!-- Whether heads-up notifications should be shown on the bottom. If false, heads-up
|
|
notifications will be shown pushed to the top of their parent container. If true, they will
|
|
be shown pushed to the bottom of their parent container. If true, then should override
|
|
config_headsUpNotificationAnimationHelper to use a different AnimationHelper, such as
|
|
com.android.car.notification.headsup.animationhelper.
|
|
CarHeadsUpNotificationBottomAnimationHelper. -->
|
|
<bool name="config_showHeadsUpNotificationOnBottom">false</bool>
|
|
<!-- Whether to always show Notification's dismiss button even without the need to have rotary focus. -->
|
|
<bool name="config_alwaysShowNotificationDismissButton">false</bool>
|
|
<!-- Whether to show action icons inside action buttons. -->
|
|
<bool name="config_showIconsInActionButtons">true</bool>
|
|
<!-- Whether to enable play for message notifications. -->
|
|
<bool name="config_enableMessageNotificationPlay">true</bool>
|
|
<!-- Whether to enable direct reply for message notifications. -->
|
|
<bool name="config_enableMessageNotificationDirectReply">true</bool>
|
|
<!-- Whether to focus on HUN when new HUN is revealed. -->
|
|
<bool name="config_focusHUNWhenShown">true</bool>
|
|
</resources>
|