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

Commit 6ece24e1 authored by Jason Monk's avatar Jason Monk
Browse files

QS: Fix second line in dual tiles

QSDualTileLabel is no longer a FrameLayout (now a LinearLayout),
so it does not need the top padding based on the caret size
anymore.

Bug: 18725348
Change-Id: Ibd3aaa20e7cdb35ba585cc5c8981c64efb5c66fe
parent a27523e3
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -100,9 +100,6 @@ public class QSDualTileLabel extends LinearLayout {
        mFirstLineCaret.setImageDrawable(d);
        if (d != null) {
            final int h = d.getIntrinsicHeight();
            final LayoutParams lp = (LayoutParams) mSecondLine.getLayoutParams();
            lp.topMargin = h * 4 / 5;
            mSecondLine.setLayoutParams(lp);
            mFirstLine.setMinHeight(h);
            mFirstLine.setPadding(mHorizontalPaddingPx, 0, 0, 0);
        }