diff options
-rw-r--r-- | java/com/android/dialer/searchfragment/list/NewSearchFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/android/dialer/searchfragment/list/NewSearchFragment.java b/java/com/android/dialer/searchfragment/list/NewSearchFragment.java index 0623d394a..2527b87ee 100644 --- a/java/com/android/dialer/searchfragment/list/NewSearchFragment.java +++ b/java/com/android/dialer/searchfragment/list/NewSearchFragment.java @@ -210,7 +210,7 @@ public final class NewSearchFragment extends Fragment } boolean slideUp = start > end; Interpolator interpolator = slideUp ? AnimUtils.EASE_IN : AnimUtils.EASE_OUT; - int startHeight = getView().getHeight(); + int startHeight = getActivity().findViewById(android.R.id.content).getHeight(); int endHeight = startHeight - (end - start); getView().setTranslationY(start); getView() |