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

Commit f1d3e6dc authored by Merissa Mitchell's avatar Merissa Mitchell Committed by Toshiki Kikuchi
Browse files

Add a dimen for notification expand button icon padding.

This CL adds a dimen resource for the padding of the notification expand
button icon so that it can be easily customizable.

Bug: 231362618
Bug: 301628891
Test: Manual
Change-Id: I64c334534ec19e1daaa5bde29a9f5b1665b80650
parent f4f61e8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@
            android:id="@+id/expand_button_icon"
            android:layout_width="@dimen/notification_expand_button_pill_height"
            android:layout_height="@dimen/notification_expand_button_pill_height"
            android:padding="2dp"
            android:padding="@dimen/notification_expand_button_icon_padding"
            android:scaleType="fitCenter"
            android:importantForAccessibility="no"
            />
+3 −0
Original line number Diff line number Diff line
@@ -349,6 +349,9 @@
    <!-- the height of the expand button pill -->
    <dimen name="notification_expand_button_pill_height">24dp</dimen>

    <!-- the padding of the expand icon in the notification header -->
    <dimen name="notification_expand_button_icon_padding">2dp</dimen>

    <!-- Vertical margin for the headerless notification content, when content has 1 line -->
    <!-- 16 * 2 (margins) + 24 (1 line) = 56 (notification) -->
    <dimen name="notification_headerless_margin_oneline">16dp</dimen>