1<?xml version="1.0" encoding="utf-8"?><!-- 2 ~ Copyright (C) 2023 The Android Open Source Project 3 ~ 4 ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 ~ you may not use this file except in compliance with the License. 6 ~ You may obtain a copy of the License at 7 ~ 8 ~ http://www.apache.org/licenses/LICENSE-2.0 9 ~ 10 ~ Unless required by applicable law or agreed to in writing, software 11 ~ distributed under the License is distributed on an "AS IS" BASIS, 12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ~ See the License for the specific language governing permissions and 14 ~ limitations under the License. 15 --> 16 17<resources> 18 <!-- Configure which system bars should be displayed. --> 19 <bool name="config_enableTopSystemBar">false</bool> 20 <bool name="config_enableLeftSystemBar">true</bool> 21 <bool name="config_enableRightSystemBar">false</bool> 22 <bool name="config_enableBottomSystemBar">false</bool> 23 24 <!-- Configure the type of each system bar. Each system bar must have a unique type. --> 25 <!-- STATUS_BAR = 0--> 26 <!-- NAVIGATION_BAR = 1--> 27 <!-- STATUS_BAR_EXTRA = 2--> 28 <!-- NAVIGATION_BAR_EXTRA = 3--> 29 <integer name="config_topSystemBarType">0</integer> 30 <integer name="config_leftSystemBarType">1</integer> 31 <integer name="config_rightSystemBarType">2</integer> 32 <integer name="config_bottomSystemBarType">3</integer> 33 34 <!-- Configure the relative z-order among the system bars. When two system bars overlap (e.g. 35 if both top bar and left bar are enabled, it creates an overlapping space in the upper left 36 corner), the system bar with the higher z-order takes the overlapping space and padding is 37 applied to the other bar.--> 38 <!-- NOTE: If two overlapping system bars have the same z-order, SystemBarConfigs will throw a 39 RuntimeException, since their placing order cannot be determined. Bars that do not overlap 40 are allowed to have the same z-order. --> 41 <!-- NOTE: If the z-order of a bar is 10 or above, it will also appear on top of HUN's. --> 42 <integer name="config_topSystemBarZOrder">0</integer> 43 <integer name="config_leftSystemBarZOrder">10</integer> 44 <integer name="config_rightSystemBarZOrder">0</integer> 45 <integer name="config_bottomSystemBarZOrder">0</integer> 46 47 <!-- Determines the orientation of the status icon. --> 48 <!-- 0 horizontal. --> 49 <!-- 1 vertical --> 50 <integer name="config_statusIconLayoutOrientation">1</integer> 51 52 <!-- Whether heads-up notifications should be shown on the bottom. If false, heads-up 53 notifications will be shown pushed to the top of their parent container. If true, they will 54 be shown pushed to the bottom of their parent container. If true, then should override 55 config_headsUpNotificationAnimationHelper to use a different AnimationHelper, such as 56 com.android.car.notification.headsup.animationhelper. 57 CarHeadsUpNotificationBottomAnimationHelper. --> 58 <bool name="config_showHeadsUpNotificationOnBottom">true</bool> 59 60 61 <!-- Determines which system bar to use for display compat toolbar. --> 62 <!-- 0 disabled --> 63 <!-- 1 left --> 64 <!-- 2 right --> 65 <integer name="config_showDisplayCompatToolbarOnSystemBar">0</integer> 66 67 <!-- Determines if how to show navigation bar and status bar on app's immersive request, only 68 works if config_remoteInsetsControllerControlsSystemBars is set to true--> 69 <!-- 0 non_immersive show all system bars on immersive request. --> 70 <!-- 1 immersive, hide both bars --> 71 <!-- 2 immersive_with_nav, show nav bar and hide status bar --> 72 <integer name="config_systemBarPersistency">1</integer> 73 74 <string name="config_notificationPanelViewMediator" translatable="false"> 75 com.android.systemui.car.notification.NotificationPanelViewMediator</string> 76 77 <string name="config_appGridComponentName" translatable="false"> 78 com.android.car.carlauncher/.AppGridActivity</string> 79 80</resources>