summaryrefslogtreecommitdiffstats
path: root/chips/src/com
diff options
context:
space:
mode:
authorKevin Lin <linkevin@google.com>2014-02-04 17:40:33 -0800
committerKevin Lin <linkevin@google.com>2014-02-04 17:40:33 -0800
commit95fedd51882128dea2152c3d1c7ff194f8e557bf (patch)
tree1e48117997e80b2bd68eeeb343be7dfddb43f748 /chips/src/com
parenta75fa12d54e386392adc0d4b54284a89ec191347 (diff)
downloadandroid_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
Diffstat (limited to 'chips/src/com')
-rw-r--r--chips/src/com/android/ex/chips/RecipientEditTextView.java6
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.