Changing press feedback to holographic for search buttons. (Bug: 5290367)

Change-Id: I50fa849abb816a98d1dbbfd9bf6611fbb87baca9
This commit is contained in:
Winson Chung
2011-10-07 13:11:56 -07:00
parent 3a02e82cff
commit 7d3810d833
7 changed files with 184 additions and 18 deletions

View File

@@ -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);
}