From 95fedd51882128dea2152c3d1c7ff194f8e557bf Mon Sep 17 00:00:00 2001 From: Kevin Lin Date: Tue, 4 Feb 2014 17:40:33 -0800 Subject: Change to scrollToBottomView to be protected instead of private. Change-Id: Ibad81543afc87f20cf8d479fd28ac1efde6195f4 --- chips/src/com/android/ex/chips/RecipientEditTextView.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chips') 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. -- cgit v1.2.3