62 lines
3.2 KiB
XML
62 lines
3.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ Copyright (C) 2020 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>
|
|
<!-- Configure which system bars should be displayed. -->
|
|
<bool name="config_enableTopSystemBar">false</bool>
|
|
<bool name="config_enableLeftSystemBar">false</bool>
|
|
<bool name="config_enableRightSystemBar">true</bool>
|
|
<bool name="config_enableBottomSystemBar">true</bool>
|
|
|
|
<!-- Configure the type of each system bar. Each system bar must have a unique type. -->
|
|
<!-- STATUS_BAR = 0-->
|
|
<!-- NAVIGATION_BAR = 1-->
|
|
<!-- STATUS_BAR_EXTRA = 2-->
|
|
<!-- NAVIGATION_BAR_EXTRA = 3-->
|
|
<integer name="config_topSystemBarType">0</integer>
|
|
<integer name="config_leftSystemBarType">0</integer>
|
|
<integer name="config_rightSystemBarType">0</integer>
|
|
<integer name="config_bottomSystemBarType">1</integer>
|
|
|
|
<!-- Configure the relative z-order among the system bars. When two system bars overlap (e.g.
|
|
if both top bar and left bar are enabled, it creates an overlapping space in the upper left
|
|
corner), the system bar with the higher z-order takes the overlapping space and padding is
|
|
applied to the other bar.-->
|
|
<!-- NOTE: If two overlapping system bars have the same z-order, SystemBarConfigs will throw a
|
|
RuntimeException, since their placing order cannot be determined. Bars that do not overlap
|
|
are allowed to have the same z-order. -->
|
|
<!-- NOTE: If the z-order of a bar is 10 or above, it will also appear on top of HUN's. -->
|
|
<integer name="config_topSystemBarZOrder">0</integer>
|
|
<integer name="config_leftSystemBarZOrder">0</integer>
|
|
<integer name="config_rightSystemBarZOrder">11</integer>
|
|
<integer name="config_bottomSystemBarZOrder">10</integer>
|
|
|
|
<!-- 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">true</bool>
|
|
|
|
<string name="config_notificationPanelViewMediator" translatable="false">
|
|
com.android.systemui.car.notification.BottomNotificationPanelViewMediator</string>
|
|
|
|
<!-- Specifies the component name of the app grid activity -->
|
|
<string name="config_appGridComponentName" translatable="false">
|
|
com.android.car.carlauncher/.AppGridActivity</string>
|
|
</resources> |