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 whether the IME renders the back and IME switcher buttons or not. --> 34 <bool name="config_imeDrawsImeNavBar">true</bool> 35 36 <!-- Controls the size of the back gesture inset. --> 37 <dimen name="config_backGestureInset">30dp</dimen> 38 39 <!-- Controls whether the navbar needs a scrim with 40 {@link Window#setEnsuringNavigationBarContrastWhenTransparent}. --> 41 <bool name="config_navBarNeedsScrim">false</bool> 42 43 <!-- Controls the opacity of the navigation bar depending on the visibility of the 44 various workspace stacks. 45 0 - Nav bar is always opaque when either the freeform stack or docked stack is visible. 46 1 - Nav bar is always translucent when the freeform stack is visible, otherwise always 47 opaque. 48 2 - Nav bar is never forced opaque. 49 --> 50 <integer name="config_navBarOpacityMode">2</integer> 51 52 <!-- Controls whether seamless rotation should be allowed even though the navbar can move 53 (which normally prevents seamless rotation). --> 54 <bool name="config_allowSeamlessRotationDespiteNavBarMoving">true</bool> 55 56 <!-- Controls whether the side edge gestures can always trigger the transient nav bar to 57 show. --> 58 <bool name="config_navBarAlwaysShowOnSideEdgeGesture">true</bool> 59 60 <!-- If true, attach the navigation bar to the app during app transition --> 61 <bool name="config_attachNavBarToAppDuringTransition">true</bool> 62</resources> 63