am 1914971c: Merge "Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible" into honeycomb
* commit '1914971c6bdeac330846488fdd5c0bb4120d5624': Fix bug 3242393 - overscroll effect missing from lists which drag but are always visible
This commit is contained in:
@@ -1098,7 +1098,8 @@ public abstract class AbsListView extends AdapterView<ListAdapter> implements Te
|
|||||||
if (childCount == 0) return true;
|
if (childCount == 0) return true;
|
||||||
if (childCount != mItemCount) return false;
|
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user