summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2011-03-28 13:18:42 -0700
committerAdam Cohen <adamcohen@google.com>2011-03-28 14:16:36 -0700
commit8878a32f26b7e6c287d970950526cd0e6eabb21d (patch)
tree1a85a19b15157dea17e6be848a5804a955c2987f /res/values
parent99e8b40b374d49baabf0c4f4e4278ac25828899b (diff)
downloadandroid_packages_apps_Trebuchet-8878a32f26b7e6c287d970950526cd0e6eabb21d.tar.gz
android_packages_apps_Trebuchet-8878a32f26b7e6c287d970950526cd0e6eabb21d.tar.bz2
android_packages_apps_Trebuchet-8878a32f26b7e6c287d970950526cd0e6eabb21d.zip
Fixing drag icon location on non-xlarge devices
Change-Id: I7897f67e145818866a51c6a50d4d3e59674b08b4
Diffstat (limited to 'res/values')
-rw-r--r--res/values/config.xml6
-rw-r--r--res/values/dimens.xml5
2 files changed, 5 insertions, 6 deletions
diff --git a/res/values/config.xml b/res/values/config.xml
index c56a8cec2..ec01fa840 100644
--- a/res/values/config.xml
+++ b/res/values/config.xml
@@ -12,12 +12,6 @@
Should be an even number, for pixel alignment. -->
<integer name="config_dragViewExtraPixels">40</integer>
- <!-- When dragging items on the workspace, the number of pixels by which the position of
- the drag view should be offset from the position of the original view.
- Setting to 1/2 of config_dragViewExtraPixels keeps it centered on its old position. -->
- <integer name="config_dragViewOffsetX">20</integer>
- <integer name="config_dragViewOffsetY">20</integer>
-
<!-- The duration (in ms) of the fade animation on the object outlines, used when
we are dragging objects around on the home screen. -->
<integer name="config_dragOutlineFadeTime">900</integer>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index d6cd3eeb0..e346c6a0e 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -44,4 +44,9 @@
<!-- the area at the edge of the screen that makes the workspace go left
or right while you're dragging. -->
<dimen name="scroll_zone">20dp</dimen>
+
+ <!-- When dragging items on the workspace, the number of dps by which the position of
+ the drag view should be offset from the position of the original view. -->
+ <dimen name="dragViewOffsetX">0dp</dimen>
+ <dimen name="dragViewOffsetY">-8dp</dimen>
</resources>