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

Commit ce61ffed authored by Katherine Kuan's avatar Katherine Kuan Committed by Android (Google) Code Review
Browse files

Merge "Fix "<N> contacts" label in tablet contact list" into ics-mr1

parents 6feb0d3f 76df4577
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -113,8 +113,9 @@ public class ContactListPinnedHeaderView extends ViewGroup {

    @Override
    protected void onLayout(boolean changed, int left, int top, int right, int bottom) {
        int width = right - left - mPaddingRight;
        int width = right - left;

        // Take into account left and right padding when laying out the below views.
        mHeaderTextView.layout(mHeaderTextIndent + mPaddingLeft,
                0,
                mHeaderTextView.getMeasuredWidth() + mHeaderTextIndent + mPaddingLeft,
@@ -129,7 +130,7 @@ public class ContactListPinnedHeaderView extends ViewGroup {

        mHeaderDivider.layout(mPaddingLeft,
                mHeaderBackgroundHeight,
                width,
                width - mPaddingRight,
                mHeaderBackgroundHeight + mHeaderUnderlineHeight);
    }