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

Commit 9d6cfece authored by Ioana Alexandru's avatar Ioana Alexandru
Browse files

[Notif redesign] Adjust spacing in MessagingStyle

Bug: 399055060
Bug: 378660052
Test: manual + screenshot tests
Flag: android.app.notifications_redesign_templates
Change-Id: I052c7f48383c55e9d6e42f64fa54902c1f94b26e
parent 57954d77
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@
            android:id="@+id/group_message_container"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/notification_text_margin_top"
            android:spacing="2dp" />
    </com.android.internal.widget.RemeasuringLinearLayout>
    <FrameLayout
+2 −1
Original line number Diff line number Diff line
@@ -54,8 +54,9 @@
                android:id="@+id/notification_messaging"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/notification_2025_margin"
                android:clipChildren="false"
                android:spacing="@dimen/notification_messaging_spacing" />
                android:spacing="@dimen/notification_2025_messaging_spacing" />
        </com.android.internal.widget.RemeasuringLinearLayout>

        <include layout="@layout/notification_template_smart_reply_container"
+2 −1
Original line number Diff line number Diff line
@@ -54,8 +54,9 @@
                android:id="@+id/notification_messaging"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/notification_2025_margin"
                android:clipChildren="false"
                android:spacing="@dimen/notification_messaging_spacing" />
                android:spacing="@dimen/notification_2025_messaging_spacing" />
        </com.android.internal.widget.RemeasuringLinearLayout>

        <include layout="@layout/notification_template_smart_reply_container"
+3 −0
Original line number Diff line number Diff line
@@ -521,6 +521,9 @@
    <!-- The spacing between messages in Notification.MessagingStyle -->
    <dimen name="notification_messaging_spacing">6dp</dimen>

    <!-- The spacing between messages in Notification.MessagingStyle (2025 redesign version) -->
    <dimen name="notification_2025_messaging_spacing">14dp</dimen>

    <!-- The spacing between messages in Notification.MessagingStyle -->
    <dimen name="notification_messaging_spacing_conversation_group">24dp</dimen>