lynx: fix padding in status bar

These overlays seem to be left over from barbet. With these values
adjusted, the padding on left and right sides of the status bar is
more symmetrical and the landscape top padding is correct.

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I10c3f495b7627200b05a24f5b259f789e62ada13
This commit is contained in:
Naman Sood 2023-11-06 01:16:41 -05:00 committed by Michael Bestas
parent 07fe9a95e2
commit fca9154c0a
No known key found for this signature in database
3 changed files with 7 additions and 15 deletions

View File

@ -23,8 +23,8 @@
<dimen name="rounded_corner_radius_top">47px</dimen> <dimen name="rounded_corner_radius_top">47px</dimen>
<dimen name="rounded_corner_radius_bottom">48px</dimen> <dimen name="rounded_corner_radius_bottom">48px</dimen>
<!-- for 20dp of padding at 3.5px/dp at default density --> <!-- Default paddings for content around the corners. -->
<dimen name="rounded_corner_content_padding">47px</dimen> <dimen name="rounded_corner_content_padding">14dp</dimen>
<!-- Height of the status bar. <!-- 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.

View File

@ -16,10 +16,6 @@
*/ */
--> -->
<resources> <resources>
<!-- Landscape, just use the regular values -->
<dimen name="status_bar_padding_start">8dp</dimen>
<dimen name="status_bar_padding_end">8dp</dimen>
<!-- the padding on the top of the statusbar (usually 0) --> <!-- the padding on the top of the statusbar (usually 0) -->
<dimen name="status_bar_padding_top">0dp</dimen> <dimen name="status_bar_padding_top">0dp</dimen>
</resources> </resources>

View File

@ -16,7 +16,7 @@
*/ */
--> -->
<resources> <resources>
<!-- Don't need the left side padding due to being inset from the cutout --> <!-- the padding on the start of the statusbar -->
<dimen name="status_bar_padding_start">0dp</dimen> <dimen name="status_bar_padding_start">0dp</dimen>
<!-- the padding on the top of the statusbar (usually 0) --> <!-- the padding on the top of the statusbar (usually 0) -->
@ -25,15 +25,11 @@
<!-- Height of the status bar header bar when on Keyguard (match status_bar_height) --> <!-- Height of the status bar header bar when on Keyguard (match status_bar_height) -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen> <dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
<!-- Padding for the system icons on the keyguard (when no multi user switch is showing). <!-- Margin on the left side of the carrier text on Keyguard -->
The icons always have a 4dp padding in the container so we only need 56 extra px of padding <dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
for the corners -->
<dimen name="system_icons_super_container_avatarless_margin_end">11px</dimen>
<!-- Multi user switch has some intrinsic padding to it --> <!-- Total minimum padding to enforce to ensure that the dot can always show -->
<dimen name="multi_user_switch_keyguard_margin">6dp</dimen> <dimen name="ongoing_appops_dot_min_padding">14dp</dimen>
<dimen name="keyguard_carrier_text_margin">0px</dimen>
<dimen name="config_rounded_mask_size">47px</dimen> <dimen name="config_rounded_mask_size">47px</dimen>
<dimen name="config_rounded_mask_size_top">47px</dimen> <dimen name="config_rounded_mask_size_top">47px</dimen>