From bc3f772cac1dbb127974aca18e0037bdff61c465 Mon Sep 17 00:00:00 2001 From: Administrator <981964879@qq.com> Date: Mon, 2 Nov 2020 15:45:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89Google=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/android/uiuios/Workspace.java | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/com/android/uiuios/Workspace.java b/src/com/android/uiuios/Workspace.java index 4d4be99..d41fd6d 100644 --- a/src/com/android/uiuios/Workspace.java +++ b/src/com/android/uiuios/Workspace.java @@ -503,18 +503,18 @@ public class Workspace extends PagedView // Add the first page CellLayout firstPage = insertNewWorkspaceScreen(Workspace.FIRST_SCREEN_ID, 0); // Always add a QSB on the first screen. - if (qsb == null) { - // In transposed layout, we add the QSB in the Grid. As workspace does not touch the - // edges, we do not need a full width QSB. - qsb = LayoutInflater.from(getContext()) - .inflate(R.layout.search_container_workspace,firstPage, false); - } - - CellLayout.LayoutParams lp = new CellLayout.LayoutParams(0, 0, firstPage.getCountX(), 1); - lp.canReorder = false; - if (!firstPage.addViewToCellLayout(qsb, 0, R.id.search_container_workspace, lp, true)) { - Log.e(TAG, "Failed to add to item at (0, 0) to CellLayout"); - } +// if (qsb == null) { +// // In transposed layout, we add the QSB in the Grid. As workspace does not touch the +// // edges, we do not need a full width QSB. +// qsb = LayoutInflater.from(getContext()) +// .inflate(R.layout.search_container_workspace,firstPage, false); +// } +// +// CellLayout.LayoutParams lp = new CellLayout.LayoutParams(0, 0, firstPage.getCountX(), 1); +// lp.canReorder = false; +// if (!firstPage.addViewToCellLayout(qsb, 0, R.id.search_container_workspace, lp, true)) { +// Log.e(TAG, "Failed to add to item at (0, 0) to CellLayout"); +// } } public void removeAllWorkspaceScreens() {