Add hard clip for overscrolled children to not be visible above QSB.

We lose the RecyclerView fading edge, but this is the simplest/less risky
solution.

Change-Id: I7aa39a33678ed8a9b9cf9f17c9ad8c14707b0299
This commit is contained in:
Jon Miranda committed 2018-06-15 09:26:57 -07:00
1 parent 4f8e417bca
commit b8ca1aa7ee
2 files changed
+18 -1

No files matched your search

@@ -312,6 +312,11 @@ public class AllAppsContainerView extends SpringRelativeLayout implements DragSo
}
}
@Override
public int getCanvasClipTopForOverscroll() {
return mHeader.getTop();
}
private void rebindAdapters(boolean showTabs) {
rebindAdapters(showTabs, false /* force */);
}