Commit 203a41d0 authored by Michael Feldstein's avatar Michael Feldstein Committed by The Android Automerger
Browse files

Deblue the glow when picking up and dragging icons and widgets around

Change-Id: I2c48f1b871dcb529fefb6e1d3013cb6245d45755
parent cc37ef8a
......@@ -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);
}
......
......@@ -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);
}
/**
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment