Properly set at glance cellHspan
This commit is contained in:
1 parent
7a23ea7d17
commit
acb3afa1f3
2 files changed
+2
-5
No files matched your search
@@ -666,7 +666,7 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
|
||||
.inflate(smartspaceMode.getLayoutResourceId(), firstPage, false);
|
||||
}
|
||||
|
||||
int cellHSpan = mLauncher.getDeviceProfile().inv.numSearchContainerColumns;
|
||||
int cellHSpan = mLauncher.getDeviceProfile().inv.numColumns;
|
||||
CellLayoutLayoutParams lp = new CellLayoutLayoutParams(0, 0, cellHSpan, 1);
|
||||
lp.canReorder = false;
|
||||
if (!firstPage.addViewToCellLayout(
|
||||
|
||||
Reference in new issue
Block a user