summaryrefslogtreecommitdiffstats
path: root/res/layout-land
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2010-02-02 08:31:50 -0800
committerJoe Onorato <joeo@android.com>2010-02-02 08:31:50 -0800
commit57a7aaa494ed7f269ea40eb71d2a7fbde087418b (patch)
tree3590c5106a9a324d8c21a761149cada5d24a9cc6 /res/layout-land
parente538b113714930df4ef45e68f75342d83f19af06 (diff)
downloadandroid_packages_apps_Trebuchet-57a7aaa494ed7f269ea40eb71d2a7fbde087418b.tar.gz
android_packages_apps_Trebuchet-57a7aaa494ed7f269ea40eb71d2a7fbde087418b.tar.bz2
android_packages_apps_Trebuchet-57a7aaa494ed7f269ea40eb71d2a7fbde087418b.zip
Clean up the workspace layout so it makes sense in landscape.
Diffstat (limited to 'res/layout-land')
-rw-r--r--res/layout-land/launcher.xml5
-rw-r--r--res/layout-land/workspace_screen.xml4
2 files changed, 5 insertions, 4 deletions
diff --git a/res/layout-land/launcher.xml b/res/layout-land/launcher.xml
index da944b73f..2688dd036 100644
--- a/res/layout-land/launcher.xml
+++ b/res/layout-land/launcher.xml
@@ -82,7 +82,7 @@
<com.android.launcher2.HandleView
android:id="@+id/all_apps_button"
android:layout_width="@dimen/button_bar_height"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:focusable="true"
@@ -95,8 +95,9 @@
<com.android.launcher2.DeleteZone
android:id="@+id/delete_zone"
- android:layout_width="49dip"
+ android:layout_width="@dimen/button_bar_height"
android:layout_height="match_parent"
+ android:layout_gravity="right|center_vertical"
android:scaleType="center"
android:src="@drawable/delete_zone_selector"
diff --git a/res/layout-land/workspace_screen.xml b/res/layout-land/workspace_screen.xml
index 299478e5c..5349aa4b3 100644
--- a/res/layout-land/workspace_screen.xml
+++ b/res/layout-land/workspace_screen.xml
@@ -23,8 +23,8 @@
launcher:cellWidth="@dimen/workspace_cell_width"
launcher:cellHeight="@dimen/workspace_cell_height"
- launcher:longAxisStartPadding="0dip"
- launcher:longAxisEndPadding="55dip"
+ launcher:longAxisStartPadding="@dimen/button_bar_height"
+ launcher:longAxisEndPadding="@dimen/button_bar_height"
launcher:shortAxisStartPadding="0dip"
launcher:shortAxisEndPadding="0dip"
launcher:shortAxisCells="4"