blob: 80fd45924fc9502bc86597d1f2073687348a2a75 [file] [log] [blame]
Winson Chungd9f2fb32019-03-05 11:10:12 -08001<?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>
Winson Chung4723b4e2019-03-25 16:49:36 -070025
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>
Adrian Roos11dfd272019-03-25 19:21:26 +010029
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. -->
Winson Chung01ac1d02019-04-01 13:39:21 -070034 <dimen name="config_backGestureInset">20dp</dimen>
Adrian Roos11dfd272019-03-25 19:21:26 +010035
Adrian Roos4c864592019-04-10 14:47:57 +020036 <!-- Controls whether the navbar needs a scrim with
Adrian Roos6eb1ed32019-04-08 16:23:43 +020037 {@link Window#setEnsuringNavigationBarContrastWhenTransparent}. -->
Adrian Roos4c864592019-04-10 14:47:57 +020038 <bool name="config_navBarNeedsScrim">false</bool>
39
Adrian Roos11dfd272019-03-25 19:21:26 +010040</resources>