sweet: overlay: Change default status bar height
AOSP has changed how the status bar height is determined
in commit [1]. Since then status_bar_height_portrait is
ignored in favor of getting the height dynamically based
on display cutouts. Devices are supposed to keep the
default value and let system handle the display cutout.
However, we do not have a display cutout but instead
change the status bar height to match our heavily rounded
corners, which was not taken into consideration in the
commit. Hence change the default status bar height
directly so that the status bar height matches the
rounded corners.
[1]: 16496cb5c1
Change-Id: I9470fbe9058de3b326e12dc092f94e20faab0a47
This commit is contained in:
parent
33c276f957
commit
7cb1e9f6b8
@ -20,7 +20,7 @@
|
|||||||
<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 -->
|
<!-- Height of the status bar -->
|
||||||
<dimen name="status_bar_height_portrait">93.0px</dimen>
|
<dimen name="status_bar_height">93.0px</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. -->
|
||||||
<dimen name="rounded_corner_radius_top">102.0px</dimen>
|
<dimen name="rounded_corner_radius_top">102.0px</dimen>
|
||||||
|
Loading…
Reference in New Issue
Block a user