device_phh_treble/overlay/packages/apps/overlays/NoCutoutOverlay/res/values-land/config.xml
Tadi 7f4c2d2a2a
Use 28dp statusbar in NoCutout overlay
All other cutout emulation overlays use this value and all of the known devices with notch are of 2:1 ratio or higher, so it makes ergonomical sense. Also helps with rounded corners.
2018-12-19 21:35:39 +01:00

26 lines
1.1 KiB
XML

<!--
~ Copyright (C) 2018 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>
<!-- Can't link to other dimensions here, but this should be status_bar_height_landscape -->
<dimen name="quick_qs_offset_height">28dp</dimen>
<!-- Total height of QQS in landscape; quick_qs_offset_height + 128 -->
<dimen name="quick_qs_total_height">156dp</dimen>
<!-- Because we hardcode status_bar_height in Oreo device overlays,
we also need to do it here. -->
<dimen name="status_bar_height">28dp</dimen>
</resources>