mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 03:08:19 +00:00
Explorations in dense grids for all apps.
- Adds sticky section headers - Removing AppsListAdapter - Adding search bar field - Subtitle filtering Bug: 20222023 Change-Id: I1eaef701b5d68f475615f09d86561eacc91c937f
This commit is contained in:
@@ -428,6 +428,13 @@ public class DeviceProfile {
|
||||
}
|
||||
|
||||
public boolean updateAppsViewNumCols(Resources res, int containerWidth) {
|
||||
if (AppsContainerView.GRID_HIDE_SECTION_HEADERS) {
|
||||
if (appsViewNumCols != allAppsNumCols) {
|
||||
appsViewNumCols = allAppsNumCols;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
int appsViewLeftMarginPx =
|
||||
res.getDimensionPixelSize(R.dimen.apps_grid_view_start_margin);
|
||||
int availableAppsWidthPx = (containerWidth > 0) ? containerWidth : availableWidthPx;
|
||||
|
||||
Reference in New Issue
Block a user