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

Commit 1958f94b authored by Andreas Miko's avatar Andreas Miko
Browse files

Increase gaps of bundle children to 2dp

Bug: b/418024545
Test: Verified that the gaps are now larger for bundle children but are
      still at 0.5dp for expanded bundled groups
Flag: com.android.systemui.notification_bundle_ui
Change-Id: If347027b4733eb6f60632602a7c07bf9ce544464
parent 73448836
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -827,6 +827,9 @@
         group. -->
    <dimen name="notification_children_container_divider_height">0.5dp</dimen>

    <!-- The height of the divider between the individual notifications within a bundle -->
    <dimen name="bundle_children_container_divider_height">2dp</dimen>

    <!-- The horizontal margin of the content in the notification shade -->
    <dimen name="notification_shade_content_margin_horizontal">16dp</dimen>

+3 −0
Original line number Diff line number Diff line
@@ -549,10 +549,13 @@ public class NotificationChildrenContainer extends ViewGroup
    }

    private void initBundleDimens() {
        Resources res = getResources();
        NotificationBundleUi.unsafeAssertInNewMode();
        mCollapsedHeaderMargin = mHeaderHeight;
        mAdditionalExpandedHeaderMargin = 0;
        mCollapsedBottomPadding = 0;
        mDividerHeight = res.getDimensionPixelOffset(
                R.dimen.bundle_children_container_divider_height);
    }

    /**