android_device_motorola_rhodep/resource-overlay/berlin/Frameworks/res/values-land/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

11 lines
363 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Height of the status bar in landscape. The height should be
Max((status bar content height + waterfall top size), top cutout size) -->
<dimen name="status_bar_height">24dp</dimen>
</resources>