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

Commit c27b541c authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Fix clipping of an app badge on bubbles in overflow" into...

Merge "Merge "Fix clipping of an app badge on bubbles in overflow" into tm-qpr-dev am: a6e03b00" into tm-qpr-dev-plus-aosp
parents 7a4bb8ea 711e3387
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -30,7 +30,8 @@
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center_horizontal"
        android:gravity="center"/>
        android:gravity="center"
        android:clipChildren="false"/>

    <LinearLayout
        android:id="@+id/bubble_overflow_empty_state"
+3 −1
Original line number Diff line number Diff line
@@ -887,7 +887,9 @@ public class BubbleExpandedView extends LinearLayout {
            mTaskView.onLocationChanged();
        }
        if (mIsOverflow) {
            post(() -> {
                mOverflowView.show();
            });
        }
    }

+4 −1
Original line number Diff line number Diff line
@@ -167,7 +167,10 @@ public class BubbleOverflowContainerView extends LinearLayout {

    void updateOverflow() {
        Resources res = getResources();
        final int columns = res.getInteger(R.integer.bubbles_overflow_columns);
        int columns = (int) Math.round(getWidth()
                / (res.getDimension(R.dimen.bubble_name_width)));
        columns = columns > 0 ? columns : res.getInteger(R.integer.bubbles_overflow_columns);

        mRecyclerView.setLayoutManager(
                new OverflowGridLayoutManager(getContext(), columns));
        if (mRecyclerView.getItemDecorationCount() == 0) {