Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1914971c authored by Adam Powell's avatar Adam Powell Committed by Android (Google) Code Review
Browse files

Merge "Fix bug 3242393 - overscroll effect missing from lists which drag but...

Merge "Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible" into honeycomb
parents 8801ad35 4ce35419
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1098,7 +1098,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
        if (childCount == 0) return true;
        if (childCount != mItemCount) return false;

        return getChildAt(0).getTop() >= 0 && getChildAt(childCount - 1).getBottom() <= mBottom;
        return getChildAt(0).getTop() >= mListPadding.top &&
                getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom;
    }

    /**