Clean up the workspace layout so it makes sense in landscape.

This commit is contained in:
Joe Onorato
2010-02-02 08:31:50 -08:00
parent e538b11371
commit 57a7aaa494
4 changed files with 7 additions and 5 deletions
+3 -2
View File
@@ -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"
+2 -2
View File
@@ -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"
+1 -1
View File
@@ -24,7 +24,7 @@
launcher:cellWidth="@dimen/workspace_cell_width"
launcher:cellHeight="@dimen/workspace_cell_height"
launcher:longAxisStartPadding="0dip"
launcher:longAxisEndPadding="55dip"
launcher:longAxisEndPadding="@dimen/button_bar_height"
launcher:shortAxisStartPadding="0dip"
launcher:shortAxisEndPadding="0dip"
launcher:shortAxisCells="4"
+1
View File
@@ -19,4 +19,5 @@
<dimen name="workspace_cell_height">74dip</dimen>
<dimen name="gesture_thumbnail_inset">8dip</dimen>
<dimen name="gesture_thumbnail_size">64dip</dimen>
<dimen name="button_bar_height">62dip</dimen>
</resources>