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
committerDanesh M <daneshm90@gmail.com>2014-06-05 23:05:47 -0700
commit86c440e06a469a32f382804601bdc8a4f460ecc4 (patch)
treeb5557e6a41b938053307d732d7cbe60bd39e02db /src/com/android/launcher3/BubbleTextView.java
parent2e753b04ec002b4ad874efde6dbd3d17e87e6912 (diff)
downloadandroid_packages_apps_Trebuchet-86c440e06a469a32f382804601bdc8a4f460ecc4.tar.gz
android_packages_apps_Trebuchet-86c440e06a469a32f382804601bdc8a4f460ecc4.tar.bz2
android_packages_apps_Trebuchet-86c440e06a469a32f382804601bdc8a4f460ecc4.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 659b2b9d9..30b3edcdf 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.