Winson Chung | d9f2fb3 | 2019-03-05 11:10:12 -0800 | [diff] [blame] | 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> |
Winson Chung | 4723b4e | 2019-03-25 16:49:36 -0700 | [diff] [blame] | 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> |
Adrian Roos | 11dfd27 | 2019-03-25 19:21:26 +0100 | [diff] [blame] | 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. --> |
Winson Chung | 01ac1d0 | 2019-04-01 13:39:21 -0700 | [diff] [blame] | 34 | <dimen name="config_backGestureInset">20dp</dimen> |
Adrian Roos | 11dfd27 | 2019-03-25 19:21:26 +0100 | [diff] [blame] | 35 | |
Adrian Roos | 4c86459 | 2019-04-10 14:47:57 +0200 | [diff] [blame] | 36 | <!-- Controls whether the navbar needs a scrim with |
Adrian Roos | 6eb1ed3 | 2019-04-08 16:23:43 +0200 | [diff] [blame] | 37 | {@link Window#setEnsuringNavigationBarContrastWhenTransparent}. --> |
Adrian Roos | 4c86459 | 2019-04-10 14:47:57 +0200 | [diff] [blame] | 38 | <bool name="config_navBarNeedsScrim">false</bool> |
| 39 | |
Adrian Roos | 11dfd27 | 2019-03-25 19:21:26 +0100 | [diff] [blame] | 40 | </resources> |