summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2010-08-09 21:05:32 -0700
committerMichael Jurka <mikejurka@google.com>2010-08-10 14:10:20 -0700
commit4cb3724a2c1e5f278e1531d643accc40fcd8e219 (patch)
tree8b188e770e842eb14f72fd6d5b19d01b13e46bcb /res
parent3ec8bdd576e23f6aa783d5377abecac6fda07374 (diff)
downloadandroid_packages_apps_Trebuchet-4cb3724a2c1e5f278e1531d643accc40fcd8e219.tar.gz
android_packages_apps_Trebuchet-4cb3724a2c1e5f278e1531d643accc40fcd8e219.tar.bz2
android_packages_apps_Trebuchet-4cb3724a2c1e5f278e1531d643accc40fcd8e219.zip
workspace bug fixes
- fixed: pressing home sometimes left workspaces in shrunken state - fixed: position of delete zone (trash icon) - fixed: workspace unshrink sometimes looked weird when coming from all apps - fixed: clicking power button and returning left workspace in shrunken state Change-Id: Ie974202926e6880ccda26ac9fe967fb587a9b7a3
Diffstat (limited to 'res')
-rw-r--r--res/layout-xlarge/launcher.xml21
-rw-r--r--res/values-xlarge/dimens.xml3
2 files changed, 13 insertions, 11 deletions
diff --git a/res/layout-xlarge/launcher.xml b/res/layout-xlarge/launcher.xml
index 395b04871..6eb9318b4 100644
--- a/res/layout-xlarge/launcher.xml
+++ b/res/layout-xlarge/launcher.xml
@@ -69,27 +69,26 @@
android:onClick="onClickConfigureButton"
android:focusable="true"
android:clickable="true" />
- <ImageView
- android:id="@+id/all_apps_button"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@id/configure_button"
- android:src="@drawable/all_apps_button"
-
- android:onClick="onClickAllAppsButton"
- android:focusable="true"
- android:clickable="true" />
<com.android.launcher2.DeleteZone
android:id="@+id/delete_zone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/delete_zone_padding"
- android:layout_toRightOf="@id/configure_button"
android:scaleType="center"
android:src="@drawable/delete_zone_selector"
android:visibility="gone"
launcher:direction="horizontal" />
+ <ImageView
+ android:id="@+id/all_apps_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_toRightOf="@id/configure_button"
+ android:src="@drawable/all_apps_button"
+
+ android:onClick="onClickAllAppsButton"
+ android:focusable="true"
+ android:clickable="true" />
</RelativeLayout>
<TabHost
diff --git a/res/values-xlarge/dimens.xml b/res/values-xlarge/dimens.xml
index 9e98e4690..c9bd8366c 100644
--- a/res/values-xlarge/dimens.xml
+++ b/res/values-xlarge/dimens.xml
@@ -24,4 +24,7 @@
<!-- vertical spacing between edge of screen and mini screen thumbnails -->
<dimen name="smallScreenVerticalMargin">20dip</dimen>
+
+ <!-- padding above the delete zone -->
+ <dimen name="delete_zone_padding">6dip</dimen>
</resources>