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

Commit 3bdb41a1 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Notif] Add margin_start dimen for ongoing activity chips.

This dimen is re-used in the screenshot tests.

Bug: 364653005
Flag: com.android.systemui.status_bar_notification_chips
Test: Chips render correctly
Change-Id: I2a37a13a8b153e518bb04c3e4599429080fa2ad9
parent 045245cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1761,6 +1761,7 @@

    <!-- Ongoing activity chip -->
    <dimen name="ongoing_activity_chip_max_text_width">74dp</dimen>
    <dimen name="ongoing_activity_chip_margin_start">5dp</dimen>
    <!-- The activity chip side padding, used with the default phone icon. -->
    <dimen name="ongoing_activity_chip_side_padding">12dp</dimen>
    <!-- The activity chip side padding, used with an icon that has embedded padding (e.g. if the icon comes from the notification's smallIcon field). If the icon has padding, the chip itself can have less padding. -->
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@
             the chip. -->
        <item name="android:layout_height">match_parent</item>
        <item name="android:layout_gravity">center_vertical|start</item>
        <item name="android:layout_marginStart">5dp</item>
        <item name="android:layout_marginStart">@dimen/ongoing_activity_chip_margin_start</item>
    </style>

    <style name="StatusBar.Chip.Text">