diff options
author | Greg Bullock <gregbullock@google.com> | 2016-06-28 16:39:39 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-06-28 16:39:39 +0000 |
commit | 90d7bf1b71f1d463bb7082c646865cff732c0687 (patch) | |
tree | 8c4d08348fb2b78a644cb0db8f56f1f99c9b18c3 /src/com | |
parent | 84dcfd8d3313779adc8a2b4f8e69de1f6a91d683 (diff) | |
parent | 087b818dae4783d7757c0bac151d60acb7692e4f (diff) | |
download | chips-90d7bf1b71f1d463bb7082c646865cff732c0687.tar.gz |
Use getLocationOnScreen to position auto-complete dropdown.
am: 087b818dae
Change-Id: I64959013f692acd76f4d9c406afe1f3ab24df09c
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/ex/chips/RecipientEditTextView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/ex/chips/RecipientEditTextView.java b/src/com/android/ex/chips/RecipientEditTextView.java index f7c6781..da9ef27 100644 --- a/src/com/android/ex/chips/RecipientEditTextView.java +++ b/src/com/android/ex/chips/RecipientEditTextView.java @@ -610,7 +610,7 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements } else { // Set the dropdown height to be the remaining height from the anchor to the // bottom. - mDropdownAnchor.getLocationInWindow(mCoords); + mDropdownAnchor.getLocationOnScreen(mCoords); getWindowVisibleDisplayFrame(mRect); setDropDownHeight(mRect.bottom - mCoords[1] - mDropdownAnchor.getHeight() - getDropDownVerticalOffset()); |