1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2023 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
18<resources>
19    <!-- Configure which system bars should be displayed. -->
20    <bool name="config_enableTopSystemBar">false</bool>
21    <bool name="config_enableLeftSystemBar">false</bool>
22    <bool name="config_enableRightSystemBar">false</bool>
23    <bool name="config_enableBottomSystemBar">true</bool>
24
25    <!-- Configure the type of each system bar. Each system bar must have a unique type. -->
26    <!--    STATUS_BAR = 0-->
27    <!--    NAVIGATION_BAR = 1-->
28    <!--    STATUS_BAR_EXTRA = 2-->
29    <!--    NAVIGATION_BAR_EXTRA = 3-->
30    <integer name="config_topSystemBarType">0</integer>
31    <integer name="config_leftSystemBarType">0</integer>
32    <integer name="config_rightSystemBarType">0</integer>
33    <integer name="config_bottomSystemBarType">1</integer>
34
35    <!-- Configure the relative z-order among the system bars. When two system bars overlap (e.g.
36         if both top bar and left bar are enabled, it creates an overlapping space in the upper left
37         corner), the system bar with the higher z-order takes the overlapping space and padding is
38         applied to the other bar.-->
39    <!-- NOTE: If two overlapping system bars have the same z-order, SystemBarConfigs will throw a
40         RuntimeException, since their placing order cannot be determined. Bars that do not overlap
41         are allowed to have the same z-order. -->
42    <!-- NOTE: If the z-order of a bar is 10 or above, it will also appear on top of HUN's.    -->
43    <integer name="config_topSystemBarZOrder">0</integer>
44    <integer name="config_leftSystemBarZOrder">0</integer>
45    <integer name="config_rightSystemBarZOrder">0</integer>
46    <integer name="config_bottomSystemBarZOrder">10</integer>
47
48    <!-- Whether heads-up notifications should be shown on the bottom. If false, heads-up
49         notifications will be shown pushed to the top of their parent container. If true, they will
50         be shown pushed to the bottom of their parent container. If true, then should override
51         config_headsUpNotificationAnimationHelper to use a different AnimationHelper, such as
52         com.android.car.notification.headsup.animationhelper.
53         CarHeadsUpNotificationBottomAnimationHelper. -->
54    <bool name="config_showHeadsUpNotificationOnBottom">true</bool>
55
56    <string name="config_notificationPanelViewMediator" translatable="false">
57        com.android.systemui.car.notification.BottomNotificationPanelViewMediator</string>
58
59    <!-- Specifies the component name of the app grid activity -->
60    <string name="config_appGridComponentName" translatable="false">
61        com.android.car.carlauncher/.AppGridActivity</string>
62</resources>