1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright (c) 2019, The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<resources>
20    <!-- Controls the navigation bar interaction mode:
21         0: 3 button mode (back, home, overview buttons)
22         1: 2 button mode (back, home buttons + swipe up for overview)
23         2: gestures only for back, home and overview -->
24    <integer name="config_navBarInteractionMode">2</integer>
25
26    <!-- Controls whether the nav bar can move from the bottom to the side in landscape.
27         Only applies if the device display is not square. -->
28    <bool name="config_navBarCanMove">false</bool>
29
30    <!-- Controls whether the navigation bar lets through taps. -->
31    <bool name="config_navBarTapThrough">true</bool>
32
33    <!-- Controls the size of the back gesture inset. -->
34    <dimen name="config_backGestureInset">40dp</dimen>
35
36    <!-- Controls whether the navbar needs a scrim with
37     {@link Window#setEnsuringNavigationBarContrastWhenTransparent}. -->
38    <bool name="config_navBarNeedsScrim">false</bool>
39
40    <!-- Controls the opacity of the navigation bar depending on the visibility of the
41     various workspace stacks.
42     0 - Nav bar is always opaque when either the freeform stack or docked stack is visible.
43     1 - Nav bar is always translucent when the freeform stack is visible, otherwise always
44         opaque.
45     2 - Nav bar is never forced opaque.
46     -->
47    <integer name="config_navBarOpacityMode">2</integer>
48
49    <!-- Controls whether seamless rotation should be allowed even though the navbar can move
50         (which normally prevents seamless rotation). -->
51    <bool name="config_allowSeamlessRotationDespiteNavBarMoving">true</bool>
52
53    <!-- Controls whether the side edge gestures can always trigger the transient nav bar to
54         show. -->
55    <bool name="config_navBarAlwaysShowOnSideEdgeGesture">true</bool>
56
57</resources>
58