Wrapping thw widgetList inside a layout, so that it has the same view structure as allApps
Change-Id: I28b035beb1c7e13101ec20ff671d3cad5f757c0e
This commit is contained in:
1 parent
c42ac0a5a6
commit
a6194d3d92
4 files changed
+23
-22
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user