Merge "Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible" into honeycomb

This commit is contained in:
Adam Powell
2011-01-24 15:03:16 -08:00
committed by Android (Google) Code Review

View File

@@ -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;
}
/**