Unify tablet/phone workspace scrolling behavior

Bug: 5954015
This commit is contained in:
Michael Jurka committed 2012-05-06 18:44:16 -07:00
1 parent 8e21bc5411
commit 869390b6ab
2 files changed
+29 -113

No files matched your search

+3 -1
View File
@@ -627,7 +627,9 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
if (isScrollingIndicatorEnabled()) {
updateScrollingIndicator();
}
if (mFadeInAdjacentScreens) {
boolean isInOverscroll = mOverScrollX < 0 || mOverScrollX > mMaxScrollX;
if (mFadeInAdjacentScreens && !isInOverscroll) {
for (int i = 0; i < getChildCount(); i++) {
View child = getChildAt(i);
if (child != null) {