Merge "Make clearSelectedChip public" into ub-chips-cranbrook
diff --git a/src/com/android/ex/chips/RecipientEditTextView.java b/src/com/android/ex/chips/RecipientEditTextView.java
index 9409e57..b37aa37 100644
--- a/src/com/android/ex/chips/RecipientEditTextView.java
+++ b/src/com/android/ex/chips/RecipientEditTextView.java
@@ -517,7 +517,8 @@
                 // Set the dropdown height to be the remaining height from the anchor to the bottom.
                 mDropdownAnchor.getLocationInWindow(mCoords);
                 getWindowVisibleDisplayFrame(mRect);
-                setDropDownHeight(mRect.bottom - mCoords[1] - mDropdownAnchor.getHeight());
+                setDropDownHeight(mRect.bottom - mCoords[1] - mDropdownAnchor.getHeight() -
+                    getDropDownVerticalOffset());
 
                 mCurrentSuggestionCount = entries == null ? 0 : entries.size();
             }