<?xml version="1.0" encoding="utf-8"?><!--
  ~ Copyright (C) 2023 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">true</bool>
    <bool name="config_enableLeftSystemBar">true</bool>
    <bool name="config_enableRightSystemBar">false</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_bottomSystemBarType">1</integer>
    <integer name="config_topSystemBarType">0</integer>
    <integer name="config_leftSystemBarType">2</integer>
    <integer name="config_rightSystemBarType">3</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_bottomSystemBarZOrder">10</integer>
    <integer name="config_topSystemBarZOrder">2</integer>
    <integer name="config_leftSystemBarZOrder">1</integer>
    <integer name="config_rightSystemBarZOrder">0</integer>


    <!-- Determines if how to show navigation bar and status bar on app's immersive request, only
        works if config_remoteInsetsControllerControlsSystemBars is set to true-->
    <!-- 0 non_immersive show all system bars on immersive request. -->
    <!-- 1 immersive, hide both bars -->
    <!-- 2 immersive_with_nav, show nav bar and hide status bar -->
    <integer name="config_systemBarPersistency">2</integer>

    <!-- Determines which system bar to use for display compat toolbar. -->
    <!-- 0 disabled -->
    <!-- 1 left -->
    <!-- 2 right -->
    <integer name="config_showDisplayCompatToolbarOnSystemBar">0</integer>
</resources>