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

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

Modify name text bound if delete button is visible

* RTL is also handled.

Bug 30288998

Change-Id: I458fe0a44722b1ad14b1216dfe3d15c34d036a1b
parent 8df90ee4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -674,11 +674,13 @@ public class ContactListItemView extends ViewGroup
                        photoTop,
                        rightBound,
                        photoTop + mDeleteImageButtonSize);
                rightBound -= mDeleteImageButtonSize;
            } else {
                mDeleteImageButton.layout(leftBound,
                        photoTop,
                        leftBound + mDeleteImageButtonSize,
                        photoTop + mDeleteImageButtonSize);
                leftBound += mDeleteImageButtonSize;
            }
        }

+1 −1

File changed.

Contains only whitespace changes.