diff options
author | Winson Chung <winsonc@google.com> | 2012-02-13 18:29:29 -0800 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2012-02-13 19:05:25 -0800 |
commit | 7bd1bbb509f9569fa18d6b4d33242679fd98bc9b (patch) | |
tree | a97556f231f5867d3d254ffad9f4b4e7bbfaafec /res/values | |
parent | d83f5f4db328fbd152491bbf9fa13abc94bd6f25 (diff) | |
download | android_packages_apps_Trebuchet-7bd1bbb509f9569fa18d6b4d33242679fd98bc9b.tar.gz android_packages_apps_Trebuchet-7bd1bbb509f9569fa18d6b4d33242679fd98bc9b.tar.bz2 android_packages_apps_Trebuchet-7bd1bbb509f9569fa18d6b4d33242679fd98bc9b.zip |
Animating the drag view scale up and down when dragging items.
Change-Id: Ic97d74a14964c6bdc23305b2d378b13a1f2e3664
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 3 | ||||
-rw-r--r-- | res/values/config.xml | 5 | ||||
-rw-r--r-- | res/values/dimens.xml | 3 |
3 files changed, 3 insertions, 8 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index ece0fd895..1efeb9e49 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -23,9 +23,6 @@ <color name="delete_target_hover_tint">#DAFF0000</color> <color name="info_target_hover_tint">#DA0099CC</color> - <!-- The alpha/color to apply to the drag image --> - <color name="drag_view_multiply_color">#CCFFFFFF</color> - <color name="bubble_dark_background">#20000000</color> <color name="appwidget_error_color">#FCCC</color> diff --git a/res/values/config.xml b/res/values/config.xml index 7ab98707c..70e65c9ac 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -54,11 +54,6 @@ <integer name="config_crosshairsFadeInTime">600</integer> - <!-- When dragging an item on the workspace, how much bigger (in pixels) the dragged view - should be, as compared to the original view. If 0, it will not be scaled at all. - Should be an even number, for pixel alignment. --> - <integer name="config_dragViewExtraPixels">40</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 fe0cb00fa..c4a66ac1f 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -110,6 +110,9 @@ the drag view should be offset from the position of the original view. --> <dimen name="dragViewOffsetX">0dp</dimen> <dimen name="dragViewOffsetY">-8dp</dimen> + <!-- When dragging an item, how much bigger (fixed dps) the dragged view + should be. If 0, it will not be scaled at all. --> + <dimen name="dragViewScale">12dp</dimen> <!-- Padding applied to AppWidgets --> <dimen name="app_widget_preview_padding_left">8dp</dimen> |