summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
diff options
context:
space:
mode:
authorDaniel Sandler <dsandler@android.com>2010-04-28 14:01:54 -0400
committerDaniel Sandler <dsandler@android.com>2010-04-28 16:42:33 -0400
commite1d923a67a584be753309fc7766547b744cc9eaf (patch)
treea66f2f0fc6749a0c7070e05fa922c2fadf6f85f2 /res/values/dimens.xml
parentde38c8e42d0f0ab08c9a5bcc4507832e9d55c5a8 (diff)
downloadandroid_packages_apps_Trebuchet-e1d923a67a584be753309fc7766547b744cc9eaf.tar.gz
android_packages_apps_Trebuchet-e1d923a67a584be753309fc7766547b744cc9eaf.tar.bz2
android_packages_apps_Trebuchet-e1d923a67a584be753309fc7766547b744cc9eaf.zip
Increase hot rectangle of trash can.
The drop region is now 70dip^2. This means it invisibly overlaps nearby icons ever so slightly---not enough to prevent icons being properly dropped on the workspace. Bug: 2623734 Change-Id: I945160ef6bdfc0a4ac3cf9db57d440bad424dfc4
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r--res/values/dimens.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 5e3bb98ef..26cb7e630 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -27,4 +27,10 @@
<!-- roughly half a status bar (for vertically centering the right-hand
button cluster in landscape) -->
<dimen name="half_status_bar_height">12dip</dimen>
+
+ <!-- height & width of the drop rectangle for the trash icon -->
+ <dimen name="delete_zone_size">70dip</dimen>
+
+ <!-- delete_zone_size_full - button_bar_height_portrait -->
+ <dimen name="delete_zone_padding">14dip</dimen>
</resources>