summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher2/BubbleTextView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2011-10-07 13:11:56 -0700
committerWinson Chung <winsonc@google.com>2011-10-11 17:39:07 -0700
commit7d3810d8337e4f030796b566a2d562fcf79b0a22 (patch)
tree905e2716716d24e3196f8c21bf015a710ce3219e /src/com/android/launcher2/BubbleTextView.java
parent3a02e82cfff354ba5e4444114b1ae2a1d5ac2862 (diff)
downloadandroid_packages_apps_Trebuchet-7d3810d8337e4f030796b566a2d562fcf79b0a22.tar.gz
android_packages_apps_Trebuchet-7d3810d8337e4f030796b566a2d562fcf79b0a22.tar.bz2
android_packages_apps_Trebuchet-7d3810d8337e4f030796b566a2d562fcf79b0a22.zip
Changing press feedback to holographic for search buttons. (Bug: 5290367)
Change-Id: I50fa849abb816a98d1dbbfd9bf6611fbb87baca9
Diffstat (limited to 'src/com/android/launcher2/BubbleTextView.java')
-rw-r--r--src/com/android/launcher2/BubbleTextView.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/launcher2/BubbleTextView.java b/src/com/android/launcher2/BubbleTextView.java
index 51fdc2eb6..49c47cef7 100644
--- a/src/com/android/launcher2/BubbleTextView.java
+++ b/src/com/android/launcher2/BubbleTextView.java
@@ -90,10 +90,8 @@ public class BubbleTextView extends TextView {
mPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
mPaint.setColor(bubbleColor);
mBubbleColorAlpha = Color.alpha(bubbleColor) / 255.0f;
- mFocusedOutlineColor = res.getColor(android.R.color.holo_blue_light);
- mFocusedGlowColor = res.getColor(android.R.color.holo_blue_light);
- mPressedOutlineColor = res.getColor(android.R.color.holo_blue_light);
- mPressedGlowColor = res.getColor(android.R.color.holo_blue_light);
+ mFocusedOutlineColor = mFocusedGlowColor = mPressedOutlineColor = mPressedGlowColor =
+ res.getColor(android.R.color.holo_blue_light);
setShadowLayer(SHADOW_LARGE_RADIUS, 0.0f, SHADOW_Y_OFFSET, SHADOW_LARGE_COLOUR);
}