Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 12a436e1 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Moving hover state status bar adjustments down to 600dp

Initially they were only introduced for 720dp but usually we consider large screen anything above 600dp. That's also where shade header (aka status bar in shade) becomes single line so it seems like a great inflection point.

Bug: 249859409
Test: Verifying visual changes on device with 600dp screen
Change-Id: I081b514daae3495d6c2d3d738f3c02f961b5367e
parent 094bdb4c
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -20,6 +20,13 @@
         On large screens should be the same as the regular status bar. -->
         On large screens should be the same as the regular status bar. -->
    <dimen name="status_bar_header_height_keyguard">@dimen/status_bar_height</dimen>
    <dimen name="status_bar_header_height_keyguard">@dimen/status_bar_height</dimen>


    <!-- padding for container with status icons and battery -->
    <dimen name="status_bar_icons_padding_end">12dp</dimen>
    <!-- start padding is smaller to account for status icon margins coming from drawable itself -->
    <dimen name="status_bar_icons_padding_start">11dp</dimen>

    <dimen name="status_bar_padding_end">0dp</dimen>

    <!-- Size of user icon + frame in the qs user picker (incl. frame) -->
    <!-- Size of user icon + frame in the qs user picker (incl. frame) -->
    <dimen name="qs_framed_avatar_size">60dp</dimen>
    <dimen name="qs_framed_avatar_size">60dp</dimen>
    <!-- Size of user icon + frame in the keyguard user picker (incl. frame) -->
    <!-- Size of user icon + frame in the keyguard user picker (incl. frame) -->
+1 −5
Original line number Original line Diff line number Diff line
@@ -16,13 +16,9 @@
*/
*/
-->
-->
<resources>
<resources>
    <!-- padding for container with status icons and battery -->
    <!-- it's a bit smaller on 720dp to account for status_bar_icon_horizontal_margin -->
    <dimen name="status_bar_icons_padding_end">12dp</dimen>
    <!-- it's a bit smaller on large screen to account for status_bar_icon_horizontal_margin -->
    <dimen name="status_bar_icons_padding_start">10dp</dimen>
    <dimen name="status_bar_icons_padding_start">10dp</dimen>


    <dimen name="status_bar_padding_end">0dp</dimen>

    <!-- gap on either side of status bar notification icons -->
    <!-- gap on either side of status bar notification icons -->
    <dimen name="status_bar_icon_horizontal_margin">1dp</dimen>
    <dimen name="status_bar_icon_horizontal_margin">1dp</dimen>