diff options
author | Kevin Lin <linkevin@google.com> | 2014-02-04 17:40:33 -0800 |
---|---|---|
committer | Kevin Lin <linkevin@google.com> | 2014-02-04 17:40:33 -0800 |
commit | 95fedd51882128dea2152c3d1c7ff194f8e557bf (patch) | |
tree | 1e48117997e80b2bd68eeeb343be7dfddb43f748 | |
parent | a75fa12d54e386392adc0d4b54284a89ec191347 (diff) | |
download | android_frameworks_ex-95fedd51882128dea2152c3d1c7ff194f8e557bf.tar.gz android_frameworks_ex-95fedd51882128dea2152c3d1c7ff194f8e557bf.tar.bz2 android_frameworks_ex-95fedd51882128dea2152c3d1c7ff194f8e557bf.zip |
Change to scrollToBottomView to be protected instead of private.
Change-Id: Ibad81543afc87f20cf8d479fd28ac1efde6195f4
-rw-r--r-- | chips/src/com/android/ex/chips/RecipientEditTextView.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chips/src/com/android/ex/chips/RecipientEditTextView.java b/chips/src/com/android/ex/chips/RecipientEditTextView.java index 448de5a..9a4609d 100644 --- a/chips/src/com/android/ex/chips/RecipientEditTextView.java +++ b/chips/src/com/android/ex/chips/RecipientEditTextView.java @@ -466,7 +466,7 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements baseAdapter.setDropdownChipLayouter(mDropdownChipLayouter); } - private void scrollBottomIntoView() { + protected void scrollBottomIntoView() { if (mScrollView != null && mShouldShrink) { int[] location = new int[2]; getLocationOnScreen(location); @@ -482,6 +482,10 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements } } + protected ScrollView getScrollView() { + return mScrollView; + } + @Override public void performValidation() { // Do nothing. Chips handles its own validation. |