summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2013-07-01 17:03:59 -0700
committerAdam Cohen <adamcohen@google.com>2013-07-08 18:32:57 -0700
commit7d30a37007bac318db1c9af47a9af12d348042a5 (patch)
tree83524dc8cd4dd05c0e8ce3a9f5607e3e7c08efee /res
parent70c987a0fea53583b22650bed6251e2dcc68bdac (diff)
downloadandroid_packages_apps_Trebuchet-7d30a37007bac318db1c9af47a9af12d348042a5.tar.gz
android_packages_apps_Trebuchet-7d30a37007bac318db1c9af47a9af12d348042a5.tar.bz2
android_packages_apps_Trebuchet-7d30a37007bac318db1c9af47a9af12d348042a5.zip
Porting PagedView from KG to gain simplified scaling model, reordering
-> We are no longer scaling individual Celllayouts, instead we are scaling the entire Workspace (and the CellLayouts come along for the ride) -> Due to the above change, many assumptions were broken. In particular, our drag and drop / animation archiecture is fairly fragile due to the frequent and complex mapping of points between different bits of the hierarchy. This CL contains a number of fixes which address such breakages. Change-Id: I2e630eab17528729b764b61f587858f6499fd318
Diffstat (limited to 'res')
-rw-r--r--res/layout-land/launcher.xml1
-rw-r--r--res/layout-port/launcher.xml1
-rw-r--r--res/layout/apps_customize_pane.xml1
3 files changed, 3 insertions, 0 deletions
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml
index 5fe05dd67..6dfbf21a5 100644
--- a/res/layout-land/launcher.xml
+++ b/res/layout-land/launcher.xml
@@ -35,6 +35,7 @@
android:id="@+id/workspace"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_gravity="center"
android:paddingStart="@dimen/workspace_left_padding"
android:paddingEnd="@dimen/workspace_right_padding"
android:paddingTop="@dimen/workspace_top_padding"
diff --git a/res/layout-port/launcher.xml b/res/layout-port/launcher.xml
index 2aec4e8c2..30eba1c7d 100644
--- a/res/layout-port/launcher.xml
+++ b/res/layout-port/launcher.xml
@@ -53,6 +53,7 @@
android:id="@+id/workspace"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_gravity="center"
android:paddingStart="@dimen/workspace_left_padding"
android:paddingEnd="@dimen/workspace_right_padding"
android:paddingTop="@dimen/workspace_top_padding"
diff --git a/res/layout/apps_customize_pane.xml b/res/layout/apps_customize_pane.xml
index a67cf919a..7efe48638 100644
--- a/res/layout/apps_customize_pane.xml
+++ b/res/layout/apps_customize_pane.xml
@@ -55,6 +55,7 @@
android:id="@+id/apps_customize_pane_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ android:layout_gravity="center"
launcher:maxAppCellCountX="@integer/apps_customize_maxCellCountX"
launcher:maxAppCellCountY="@integer/apps_customize_maxCellCountY"
launcher:pageLayoutWidthGap="@dimen/apps_customize_pageLayoutWidthGap"