diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml index 0c1a1955a7..35f1a08ef2 100644 --- a/res/layout-land/launcher.xml +++ b/res/layout-land/launcher.xml @@ -27,8 +27,10 @@ android:id="@+id/workspace" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingLeft="@dimen/qsb_bar_height" - android:paddingRight="@dimen/button_bar_height" + android:paddingLeft="@dimen/workspace_left_padding" + android:paddingRight="@dimen/workspace_right_padding" + android:paddingTop="@dimen/workspace_top_padding" + android:paddingBottom="@dimen/workspace_bottom_padding" launcher:defaultScreen="2" launcher:cellCountX="@integer/cell_count_x" launcher:cellCountY="@integer/cell_count_y" diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml index f6ff2e8208..603038220f 100644 --- a/res/layout-port/launcher.xml +++ b/res/layout-port/launcher.xml @@ -44,8 +44,10 @@ android:id="@+id/workspace" android:layout_width="match_parent" android:layout_height="match_parent" - android:paddingTop="@dimen/qsb_bar_height_inset" - android:paddingBottom="@dimen/button_bar_height" + android:paddingLeft="@dimen/workspace_left_padding" + android:paddingRight="@dimen/workspace_right_padding" + android:paddingTop="@dimen/workspace_top_padding" + android:paddingBottom="@dimen/workspace_bottom_padding" launcher:defaultScreen="2" launcher:cellCountX="@integer/cell_count_x" launcher:cellCountY="@integer/cell_count_y" diff --git a/res/layout-sw720dp/workspace.xml b/res/layout-sw720dp/workspace.xml index 327afaf00d..5658a4b4f6 100644 --- a/res/layout-sw720dp/workspace.xml +++ b/res/layout-sw720dp/workspace.xml @@ -19,7 +19,10 @@ diff --git a/res/layout-sw720dp/workspace_screen.xml b/res/layout-sw720dp/workspace_screen.xml deleted file mode 100644 index 52f9defd98..0000000000 --- a/res/layout-sw720dp/workspace_screen.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - diff --git a/res/layout/workspace_screen.xml b/res/layout/workspace_screen.xml index 23e1def686..d6e66f69df 100644 --- a/res/layout/workspace_screen.xml +++ b/res/layout/workspace_screen.xml @@ -17,16 +17,17 @@ + launcher:maxGap="@dimen/workspace_max_gap" /> \ No newline at end of file diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml index 5f03510f39..69d68be939 100644 --- a/res/values-land/dimens.xml +++ b/res/values-land/dimens.xml @@ -24,21 +24,26 @@ 74dp 64dp 58dp - - 0dp - 0dp - - 0dp - 0dp + height or the qsb bar height --> -1dp 0dp 0dp 12dp 12dp + + @dimen/cell_layout_left_padding_land + @dimen/cell_layout_right_padding_land + @dimen/cell_layout_top_padding_land + @dimen/cell_layout_bottom_padding_land + + @dimen/workspace_left_padding_land + @dimen/workspace_right_padding_land + @dimen/workspace_top_padding_land + @dimen/workspace_bottom_padding_land + 6dp diff --git a/res/values-land/styles.xml b/res/values-land/styles.xml index 71ab658596..f4519ab34f 100644 --- a/res/values-land/styles.xml +++ b/res/values-land/styles.xml @@ -18,12 +18,6 @@ --> - - - - - -