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

Commit 41927f18 authored by Peter Ng's avatar Peter Ng Committed by Justin Ho
Browse files

Make notification divider exactly 1px in hdpi.

It remains 1dp for all other densities.

Change-Id: I40491d4512d79c026b7039ca15debf1c0f4ef99d
parent cfc0f2c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@

    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:layout_height="@dimen/notification_divider_height"
        android:layout_alignParentBottom="true"
        android:background="@android:drawable/divider_horizontal_dark"
        />
+8 −0
Original line number Diff line number Diff line
@@ -21,4 +21,12 @@
    <dimen name="recents_thumbnail_bg_padding_top">7px</dimen>
    <dimen name="recents_thumbnail_bg_padding_right">6px</dimen>
    <dimen name="recents_thumbnail_bg_padding_bottom">6px</dimen>

    <!-- thickness (height) of each notification row, including any separators or padding -->
    <!-- Note: this is 64dip + 1px divider = 97px. -->
    <dimen name="notification_height">97px</dimen>

    <!-- thickness (height) of dividers between each notification row; see math for
         notification_height above -->
    <dimen name="notification_divider_height">1px</dimen>
</resources>
+3 −0
Original line number Diff line number Diff line
@@ -60,4 +60,7 @@

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

    <!-- thickness (height) of dividers between each notification row -->
    <dimen name="notification_divider_height">1dp</dimen>
</resources>