diff --git a/res/layout-land/folder_icon.xml b/res/layout-land/folder_icon.xml index 60569c5539..e9d2b960a2 100644 --- a/res/layout-land/folder_icon.xml +++ b/res/layout-land/folder_icon.xml @@ -28,5 +28,5 @@ android:src="@drawable/portal_ring_inner_holo"/> + style="@style/WorkspaceIcon.Landscape.Folder"/> diff --git a/res/layout-large-port/workspace_screen.xml b/res/layout-large-port/workspace_screen.xml deleted file mode 100644 index e33c6123ea..0000000000 --- a/res/layout-large-port/workspace_screen.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - diff --git a/res/layout-large/all_apps_paged_view_application.xml b/res/layout-large/all_apps_paged_view_application.xml index 16e5d82b72..019f75f400 100644 --- a/res/layout-large/all_apps_paged_view_application.xml +++ b/res/layout-large/all_apps_paged_view_application.xml @@ -21,7 +21,7 @@ launcher:blurColor="#FF6B8CF0" launcher:outlineColor="#FF8CD2FF" - style="@style/WorkspaceIcon.AllApps" + style="@style/WorkspaceIcon.AppsCustomize" android:id="@+id/application_icon" android:layout_width="match_parent" diff --git a/res/layout-large-land/workspace_screen.xml b/res/layout-large/workspace_screen.xml similarity index 72% rename from res/layout-large-land/workspace_screen.xml rename to res/layout-large/workspace_screen.xml index 25b05e903e..52f9defd98 100644 --- a/res/layout-large-land/workspace_screen.xml +++ b/res/layout-large/workspace_screen.xml @@ -20,14 +20,14 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" + android:paddingLeft="@dimen/workspace_left_padding" + android:paddingRight="@dimen/workspace_right_padding" + android:paddingTop="@dimen/workspace_top_padding" + android:paddingBottom="@dimen/workspace_bottom_padding" android:hapticFeedbackEnabled="false" launcher:cellWidth="@dimen/workspace_cell_width" launcher:cellHeight="@dimen/workspace_cell_height" - launcher:widthGap="@dimen/workspace_width_gap_land" - launcher:heightGap="@dimen/workspace_height_gap_land" - - launcher:xAxisStartPadding="@dimen/workspace_x_axis_start_padding_land" - launcher:xAxisEndPadding="@dimen/workspace_x_axis_end_padding_land" - launcher:yAxisStartPadding="@dimen/workspace_y_axis_start_padding_land" - launcher:yAxisEndPadding="@dimen/workspace_y_axis_end_padding_land" /> + launcher:widthGap="@dimen/workspace_width_gap" + launcher:heightGap="@dimen/workspace_height_gap" + launcher:maxGap="@dimen/workspace_max_gap" /> diff --git a/res/layout-port/folder_icon.xml b/res/layout-port/folder_icon.xml index 3f776dec0e..adc0e6a06d 100644 --- a/res/layout-port/folder_icon.xml +++ b/res/layout-port/folder_icon.xml @@ -28,5 +28,5 @@ android:src="@drawable/portal_ring_inner_holo"/> + style="@style/WorkspaceIcon.Portrait.Folder"/> diff --git a/res/layout-port/workspace_screen.xml b/res/layout-port/workspace_screen.xml deleted file mode 100644 index 7a6714fe04..0000000000 --- a/res/layout-port/workspace_screen.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - diff --git a/res/layout/apps_customize_application.xml b/res/layout/apps_customize_application.xml index 4f36326329..37a8df7eea 100644 --- a/res/layout/apps_customize_application.xml +++ b/res/layout/apps_customize_application.xml @@ -18,7 +18,7 @@ xmlns:android="http://schemas.android.com/apk/res/android" xmlns:launcher="http://schemas.android.com/apk/res/com.android.launcher" - style="@style/WorkspaceIcon.AllApps" + style="@style/WorkspaceIcon.AppsCustomize" android:id="@+id/application_icon" android:layout_width="match_parent" diff --git a/res/layout/user_folder.xml b/res/layout/user_folder.xml index 06d79ef702..299095d114 100644 --- a/res/layout/user_folder.xml +++ b/res/layout/user_folder.xml @@ -30,16 +30,16 @@ android:id="@+id/folder_content" android:layout_width="wrap_content" android:layout_height="wrap_content" + android:paddingLeft="0dip" + android:paddingRight="0dip" + android:paddingTop="8dip" + android:paddingBottom="8dip" android:cacheColorHint="#ff333333" android:hapticFeedbackEnabled="false" launcher:widthGap="@dimen/folder_width_gap" launcher:heightGap="@dimen/folder_height_gap" launcher:cellWidth="@dimen/workspace_cell_width" - launcher:cellHeight="@dimen/workspace_cell_height" - launcher:xAxisStartPadding="0dip" - launcher:xAxisEndPadding="0dip" - launcher:yAxisStartPadding="8dip" - launcher:yAxisEndPadding="8dip"/> + launcher:cellHeight="@dimen/workspace_cell_height" /> - \ No newline at end of file + diff --git a/res/layout-land/workspace_screen.xml b/res/layout/workspace_screen.xml similarity index 76% rename from res/layout-land/workspace_screen.xml rename to res/layout/workspace_screen.xml index a9faf892f3..ede0d99071 100644 --- a/res/layout-land/workspace_screen.xml +++ b/res/layout/workspace_screen.xml @@ -4,9 +4,9 @@ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -20,11 +20,14 @@ android:layout_width="match_parent" android:layout_height="match_parent" + android:paddingLeft="@dimen/workspace_left_padding" + android:paddingRight="@dimen/workspace_right_padding" + android:paddingTop="@dimen/workspace_top_padding" + android:paddingBottom="@dimen/workspace_bottom_padding" android:hapticFeedbackEnabled="false" launcher:cellWidth="@dimen/workspace_cell_width" launcher:cellHeight="@dimen/workspace_cell_height" - launcher:xAxisStartPadding="@dimen/qsb_bar_height" - launcher:xAxisEndPadding="0dip" - launcher:yAxisStartPadding="0dip" - launcher:yAxisEndPadding="0dip"/> + launcher:widthGap="-1dp" + launcher:heightGap="-1dp" + launcher:maxGap="@dimen/workspace_max_gap" /> diff --git a/res/values-land/dimens.xml b/res/values-land/dimens.xml index 13519e568d..6ba7f7d0e5 100644 --- a/res/values-land/dimens.xml +++ b/res/values-land/dimens.xml @@ -19,8 +19,12 @@ 12dip 12dip - 106dip - 74dip + + @dimen/qsb_bar_height + @dimen/button_bar_height + 0dp + 0dp + 100dip 74dip 62dip @@ -29,11 +33,12 @@ 3 10dp 5dp - 10dp - 10dp + 4dp + 4dp 2dp 2dp + 30dp 0dp 3 diff --git a/res/values-large-land/dimens.xml b/res/values-large-land/dimens.xml index eeb16f4d42..8a5dfd3a48 100644 --- a/res/values-large-land/dimens.xml +++ b/res/values-large-land/dimens.xml @@ -15,12 +15,20 @@ --> + + 25dip + 25dip + 15dip + 15dip + 32dp + 2dp + 100dip - 36dp - 6dp + 28dp + 8dp 20dp 14dp 40dp diff --git a/res/values-large-port/dimens.xml b/res/values-large-port/dimens.xml index 86bd03d242..ba60e73bac 100644 --- a/res/values-large-port/dimens.xml +++ b/res/values-large-port/dimens.xml @@ -15,6 +15,7 @@ --> + 96dp 96dp 12dp + 40dp + 15dip + 15dip + 25dip + 25dip + 0dp + 32dp + 24dp 36dp 25dp diff --git a/res/values-large/dimens.xml b/res/values-large/dimens.xml index eb48859a60..9d4b3d9ea5 100644 --- a/res/values-large/dimens.xml +++ b/res/values-large/dimens.xml @@ -18,6 +18,13 @@ 56dp + 96dip + 96dip + + 50dp + 64dp + + 96dp 96dp - 32dp - 2dp - 0dp - 32dp - - 50dp - 64dp - 10dp diff --git a/res/values-large/styles.xml b/res/values-large/styles.xml index f44bfa58ac..386e9ca608 100644 --- a/res/values-large/styles.xml +++ b/res/values-large/styles.xml @@ -18,6 +18,42 @@ --> + + + + + + + - - - - - + + +