Unify tablet/phone workspace scrolling behavior
Bug: 5954015
This commit is contained in:
1 parent
8e21bc5411
commit
869390b6ab
2 files changed
+29
-113
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user