android_device_motorola_rhodep/resource-overlay/berlin/Frameworks/res/values/dimens.xml
dianlujitao 49a98f304d berlin: Fix status bar height for certain apps on 12L
* 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
2022-08-06 22:04:21 +02:00

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>