* 12L introduced new API to fetch status bar height based on cutout, to handle multi-display devices. However, some apps directly read the height from overlay so the layout is broken for them. * Since our device is not a multi-display one, set the expected height in overlay directly as the old way to make these apps look good. * Reduce status bar height to exactly match the cutout height. Change-Id: I38fae2cdd20b947998766b35920d28bebcf547cf
15 lines
534 B
XML
15 lines
534 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2022 The LineageOS Project
|
|
SPDX-License-Identifier: Apache-2.0
|
|
-->
|
|
<resources>
|
|
<!-- Radius of the software rounded corners. -->
|
|
<dimen name="rounded_corner_radius">90px</dimen>
|
|
|
|
<!-- Height of the status bar in portrait. The height should be
|
|
Max((status bar content height + waterfall top size), top cutout size) -->
|
|
<dimen name="status_bar_height">90px</dimen>
|
|
|
|
<dimen name="status_bar_padding_top_portrait">10.0px</dimen>
|
|
</resources>
|