Skip to content
Snippets Groups Projects
Commit a9187a3f authored by Shawn Lin's avatar Shawn Lin
Browse files

Update status bar height to center the hole punch cutout

Bug: 253071694
Test: make
Change-Id: I6baa011224ea366821d4c665bb19da0842106ace
parent ae3830af
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 653,0
h 145
v 130
v 144
h -145
Z
@left
......
......@@ -30,7 +30,7 @@
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height_default">28dp</dimen>
<dimen name="status_bar_height_portrait">130px</dimen>
<dimen name="status_bar_height_portrait">144px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
......
......@@ -60,7 +60,7 @@
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">
M 480,0
h 145
v 118
v 136
h -145
Z
@left
......
......@@ -30,7 +30,7 @@
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height_default">28dp</dimen>
<dimen name="status_bar_height_portrait">118px</dimen>
<dimen name="status_bar_height_portrait">136px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<!-- Adjustment for software rounded corners since corners aren't perfectly round. -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment