Forwarding touch events from floating header to recyclerview.

Additionally adds little sidepadding to the tabs buttons and fixes yPos
calculations for the scrollbar.

Bug: 69966700
Change-Id: I9d236ce7a782090f5d17931839f24b65b4ce7019
This commit is contained in:
Mario Bertschler
2017-12-06 13:03:54 -08:00
parent 92731d48d2
commit ea0eb4bb4b
6 changed files with 51 additions and 9 deletions

View File

@@ -261,9 +261,6 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
if (mLauncher.getDragLayer().isEventOverView(mSearchContainer, ev)) {
return true;
}
if (mUsingTabs && mLauncher.getDragLayer().isEventOverView(mHeader, ev)) {
return true;
}
AllAppsRecyclerView rv = getActiveRecyclerView();
return rv == null || rv.shouldContainerScroll(ev, mLauncher.getDragLayer());
}