summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/BubbleTextView.java
diff options
context:
space:
mode:
authorAdam Cohen <adamcohen@google.com>2013-10-24 12:11:34 -0700
committerAdam Cohen <adamcohen@google.com>2013-10-24 12:12:46 -0700
commit7397e624607393e1964750e60e1700876bbbf863 (patch)
tree5a7468771ca18514d2867c0cf39d8b3467b9df2a /src/com/android/launcher3/BubbleTextView.java
parent1c6dee72042cb20cd8ce12064305acdade7ebb8a (diff)
downloadandroid_packages_apps_Trebuchet-7397e624607393e1964750e60e1700876bbbf863.tar.gz
android_packages_apps_Trebuchet-7397e624607393e1964750e60e1700876bbbf863.tar.bz2
android_packages_apps_Trebuchet-7397e624607393e1964750e60e1700876bbbf863.zip
Add visible touch feedback to items in folders
Change-Id: I41937f7864bca39232079a90139679ebd5cc2a07
Diffstat (limited to 'src/com/android/launcher3/BubbleTextView.java')
-rw-r--r--src/com/android/launcher3/BubbleTextView.java4
1 files changed, 4 insertions, 0 deletions
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.