From 7397e624607393e1964750e60e1700876bbbf863 Mon Sep 17 00:00:00 2001 From: Adam Cohen Date: Thu, 24 Oct 2013 12:11:34 -0700 Subject: Add visible touch feedback to items in folders Change-Id: I41937f7864bca39232079a90139679ebd5cc2a07 --- src/com/android/launcher3/BubbleTextView.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/android/launcher3/BubbleTextView.java') diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java index 8dab9432a..fbdbaa449 100644 --- a/src/com/android/launcher3/BubbleTextView.java +++ b/src/com/android/launcher3/BubbleTextView.java @@ -203,6 +203,10 @@ public class BubbleTextView extends TextView { destCanvas.restore(); } + public void setGlowColor(int color) { + mFocusedOutlineColor = mFocusedGlowColor = mPressedOutlineColor = mPressedGlowColor = color; + } + /** * Returns a new bitmap to be used as the object outline, e.g. to visualize the drop location. * Responsibility for the bitmap is transferred to the caller. -- cgit v1.2.3