dm3q: overlay: Properly set status bar height
Change-Id: I39c09f6415f7fa87c7c01b6e42d144b31c0d4518
This commit is contained in:
17
overlay/FrameworksResDm3q/res/values-land/dimens.xml
Normal file
17
overlay/FrameworksResDm3q/res/values-land/dimens.xml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2024 The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
|
||||||
|
<!-- Height of the status bar.
|
||||||
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
|
-->
|
||||||
|
<dimen name="status_bar_height">74.0px</dimen>
|
||||||
|
|
||||||
|
<!-- The default height of the status bar used in {@link SystemBarUtils#getStatusBarHeight} to
|
||||||
|
calculate the status bar height. -->
|
||||||
|
<dimen name="status_bar_height_default">@dimen/status_bar_height</dimen>
|
||||||
|
|
||||||
|
</resources>
|
@@ -1,14 +1,18 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!--
|
<!--
|
||||||
Copyright (C) 2023 The LineageOS Project
|
Copyright (C) 2024 The LineageOS Project
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
-->
|
-->
|
||||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||||
|
|
||||||
<!-- Height of the status bar in portrait.
|
<!-- Height of the status bar.
|
||||||
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
|
||||||
-->
|
-->
|
||||||
<dimen name="status_bar_height_portrait">5.069977mm</dimen>
|
<dimen name="status_bar_height">94.0px</dimen>
|
||||||
|
|
||||||
|
<!-- The default height of the status bar used in {@link SystemBarUtils#getStatusBarHeight} to
|
||||||
|
calculate the status bar height. -->
|
||||||
|
<dimen name="status_bar_height_default">@dimen/status_bar_height</dimen>
|
||||||
|
|
||||||
<!-- Radius of the software rounded corners at the top of the display in its natural
|
<!-- Radius of the software rounded corners at the top of the display in its natural
|
||||||
orientation. If zero, the value of rounded_corner_radius is used. -->
|
orientation. If zero, the value of rounded_corner_radius is used. -->
|
||||||
|
Reference in New Issue
Block a user