diff options
author | Michael Feldstein <feldstein@google.com> | 2013-09-26 18:12:34 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-26 18:12:34 +0000 |
commit | 280c5bd51fa9d4c3cb9bccd86b28c59372e218bb (patch) | |
tree | fae012f9a162710b00f4b3e05251b36bbc4898f4 | |
parent | 007f8d2561fad9ee013c322bee8bb4ce8446a83a (diff) | |
parent | 52ee3ec0beb56a37575aa37c6788823102c3bd6d (diff) | |
download | Launcher2-280c5bd51fa9d4c3cb9bccd86b28c59372e218bb.tar.gz |
Merge "Deblue the glow when picking up and dragging icons and widgets around" into klp-dev
-rw-r--r-- | src/com/android/launcher2/BubbleTextView.java | 2 | ||||
-rw-r--r-- | src/com/android/launcher2/HolographicViewHelper.java | 2 | ||||
-rw-r--r-- | src/com/android/launcher2/Workspace.java | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java index c5bed169..56802da7 100644 --- a/src/com/android/launcher2/BubbleTextView.java +++ b/src/com/android/launcher2/BubbleTextView.java @@ -82,7 +82,7 @@ public class BubbleTextView extends TextView { final Resources res = getContext().getResources(); mFocusedOutlineColor = mFocusedGlowColor = mPressedOutlineColor = mPressedGlowColor = - res.getColor(android.R.color.holo_blue_light); + res.getColor(android.R.color.white); setShadowLayer(SHADOW_LARGE_RADIUS, 0.0f, SHADOW_Y_OFFSET, SHADOW_LARGE_COLOUR); } diff --git a/src/com/android/launcher2/HolographicViewHelper.java b/src/com/android/launcher2/HolographicViewHelper.java index 93d78535..3d509ca5 100644 --- a/src/com/android/launcher2/HolographicViewHelper.java +++ b/src/com/android/launcher2/HolographicViewHelper.java @@ -34,7 +34,7 @@ public class HolographicViewHelper { public HolographicViewHelper(Context context) { Resources res = context.getResources(); - mHighlightColor = res.getColor(android.R.color.holo_blue_light); + mHighlightColor = res.getColor(android.R.color.white); } /** diff --git a/src/com/android/launcher2/Workspace.java b/src/com/android/launcher2/Workspace.java index 01bf0d3e..6965e864 100644 --- a/src/com/android/launcher2/Workspace.java +++ b/src/com/android/launcher2/Workspace.java @@ -1831,7 +1831,7 @@ public class Workspace extends SmoothPagedView * Responsibility for the bitmap is transferred to the caller. */ private Bitmap createDragOutline(View v, Canvas canvas, int padding) { - final int outlineColor = getResources().getColor(android.R.color.holo_blue_light); + final int outlineColor = getResources().getColor(android.R.color.white); final Bitmap b = Bitmap.createBitmap( v.getWidth() + padding, v.getHeight() + padding, Bitmap.Config.ARGB_8888); @@ -1848,7 +1848,7 @@ public class Workspace extends SmoothPagedView */ private Bitmap createDragOutline(Bitmap orig, Canvas canvas, int padding, int w, int h, boolean clipAlpha) { - final int outlineColor = getResources().getColor(android.R.color.holo_blue_light); + final int outlineColor = getResources().getColor(android.R.color.white); final Bitmap b = Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8888); canvas.setBitmap(b); |