Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps

Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
This commit is contained in:
Sunny Goyal
2016-02-19 09:34:09 -08:00
parent c42ac0a5a6
commit a6194d3d92
4 changed files with 23 additions and 22 deletions

View File

@@ -371,11 +371,6 @@ public class AllAppsContainerView extends BaseContainerView implements DragSourc
mAdapter.updateBackgroundPadding(bgPadding);
mElevationController.updateBackgroundPadding(bgPadding);
// Hack: We are going to let the recycler view take the full width, so reset the padding on
// the container to zero after setting the background and apply the top-bottom padding to
// the content view instead so that the launcher transition clips correctly.
getContentView().setPadding(0, 0, 0, 0);
// Pad the recycler view by the background padding plus the start margin (for the section
// names)
int maxScrollBarWidth = mAppsRecyclerView.getMaxScrollbarWidth();