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
This commit is contained in:
parent
02bea4f8a3
commit
49a98f304d
3 changed files with 14 additions and 10 deletions
|
|
@ -13,7 +13,7 @@
|
|||
<dimen name="rounded_corner_content_padding">6px</dimen>
|
||||
|
||||
<!-- Height of the status bar header bar when on Keyguard -->
|
||||
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height_portrait</dimen>
|
||||
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
|
||||
|
||||
<!-- Margin on the left side of the carrier text on Keyguard -->
|
||||
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue