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

Commit 7013ee71 authored by Pat Manning's avatar Pat Manning
Browse files

Add drop target button overlap correction to second button only.

Bug: 228311837
Bug: 228311837
Test: manual.
Change-Id: Ib9256deadd58c7350143221bf98c79415aaf9bc4
parent 4349d212
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -252,8 +252,7 @@ public class DropTargetBar extends FrameLayout
                int overlap = start + leftButton.getMeasuredWidth() + rightButton.getMeasuredWidth()
                        - end;
                if (overlap > 0) {
                    start -= overlap / 2;
                    end += overlap / 2;
                    end += overlap;
                }

                leftButton.layout(start, 0, start + leftButton.getMeasuredWidth(),