mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56:49 +00:00
Removing unnecessary view inflation
Using a predefined height for app icons, and for everything else, inflating it on demand Change-Id: I7520802f30d2111d63fe336b09f6264201cdea61
This commit is contained in:
@@ -541,7 +541,6 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
|
||||
}
|
||||
FocusedItemDecorator focusedItemDecorator = new FocusedItemDecorator(recyclerView);
|
||||
recyclerView.addItemDecoration(focusedItemDecorator);
|
||||
recyclerView.preMeasureViews(adapter);
|
||||
adapter.setIconFocusListener(focusedItemDecorator.getFocusListener());
|
||||
applyVerticalFadingEdgeEnabled(verticalFadingEdge);
|
||||
applyPadding();
|
||||
|
||||
Reference in New Issue
Block a user