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

Commit fd10e743 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Show gap b/w indexer and image when inderxer is disabled.

Also move directory header to right by 16dp to make it aligned with
contact list items.

Bug 29831679

Change-Id: I0ec82ceba8d94f2699cdfa9641f237eae8b9ad9d
parent 08ca0463
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -637,13 +637,11 @@ public class ContactListItemView extends ViewGroup
        mBoundsWithoutHeader.set(left + leftBound, topBound, left + rightBound, bottomBound);
        mLeftOffset = left + leftBound;
        mRightOffset = left + rightBound;
        if (mIsSectionHeaderEnabled) {
        if (isLayoutRtl) {
            rightBound -= mGapBetweenIndexerAndImage;
        } else {
            leftBound += mGapBetweenIndexerAndImage;
        }
        }

        if (mActivatedStateSupported && isActivated()) {
            mActivatedBackgroundDrawable.setBounds(mBoundsWithoutHeader);