40 lines
2.0 KiB
XML
40 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2019 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>
|
|
<declare-styleable name="CarNotificationHeaderView">
|
|
<!-- Signifies that the notifications should be treated as a HUN. -->
|
|
<attr name="isHeadsUp" format="boolean"/>
|
|
</declare-styleable>
|
|
<declare-styleable name="CarNotificationBodyView">
|
|
<!-- This attribute is to signify when the large icon should be shown.
|
|
It is ignored when launcher icon is being used. -->
|
|
<attr name="showBigIcon" format="boolean"/>
|
|
<!-- The maximum number of lines that can be displayed in the content of a notification.
|
|
Use config_headsUpNotificationMaxBodyLines to control this value for HUNs.
|
|
Use config_notificationPanelMaxBodyLines to control this value for non-HUNs.
|
|
Use config_maxNumberOfMessagesInPanel & config_maxNumberOfMessageLinesInPanel to
|
|
control this value for non-HUN message style notifications. -->
|
|
<attr name="maxLines" format="integer"/>
|
|
<!-- Signifies that the notifications should be treated as a HUN. -->
|
|
<attr name="isHeadsUp" format="boolean"/>
|
|
</declare-styleable>
|
|
<declare-styleable name="CarNotificationActionsView">
|
|
<!-- Signifies that the notification is of 'call' category. -->
|
|
<attr name="categoryCall" format="boolean"/>
|
|
</declare-styleable>
|
|
</resources>
|