commit | faa944cfd66fc3ebba9a3a93614e55da4a66e812 | [log] [tgz] |
---|---|---|
author | Mindy Pereira <mindyp@google.com> | Tue Jun 21 14:47:09 2011 -0700 |
committer | Mindy Pereira <mindyp@google.com> | Tue Jun 21 14:47:09 2011 -0700 |
tree | 4860a2bace7be8a0e060c9f53370657ed5f1485a | |
parent | e33555f13a9b05d835cb860e2c30ef40af3c8502 [diff] |
Fix the left offset of the alternates popup. Change-Id: I9029fd370e95cbd7ab7a34f200b87e2b873482e3
diff --git a/src/com/android/ex/chips/RecipientEditTextView.java b/src/com/android/ex/chips/RecipientEditTextView.java index b4b27fc..aa29fc8 100644 --- a/src/com/android/ex/chips/RecipientEditTextView.java +++ b/src/com/android/ex/chips/RecipientEditTextView.java
@@ -787,6 +787,8 @@ View anchorView = new View(context); anchorView.setBottom(bottom); anchorView.setTop(bottom); + anchorView.setLeft(xy[0]); + anchorView.setRight(xy[0]); // Align the alternates popup with the left side of the View, // regardless of the position of the chip tapped. alternatesPopup.setWidth(width);