summaryrefslogtreecommitdiffstats
path: root/chips
diff options
context:
space:
mode:
authorScott Kennedy <skennedy@google.com>2014-01-28 16:36:19 -0800
committerScott Kennedy <skennedy@google.com>2014-01-28 16:36:19 -0800
commite9b57c9e260f245b4527116143206e2d62f24edd (patch)
treeb67993df90d97c2b8c368398a6f593625ab23379 /chips
parent2e7571b5f06725a3a54a73bcc2c83a8b39c9da22 (diff)
downloadandroid_frameworks_ex-e9b57c9e260f245b4527116143206e2d62f24edd.tar.gz
android_frameworks_ex-e9b57c9e260f245b4527116143206e2d62f24edd.tar.bz2
android_frameworks_ex-e9b57c9e260f245b4527116143206e2d62f24edd.zip
Fix a small bug
Change-Id: I92babdcb1488195a073d2393b03083c8c74f740f
Diffstat (limited to 'chips')
-rw-r--r--chips/src/com/android/ex/chips/RecipientEditTextView.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/chips/src/com/android/ex/chips/RecipientEditTextView.java b/chips/src/com/android/ex/chips/RecipientEditTextView.java
index e48a3b1..c2d68d2 100644
--- a/chips/src/com/android/ex/chips/RecipientEditTextView.java
+++ b/chips/src/com/android/ex/chips/RecipientEditTextView.java
@@ -718,7 +718,7 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements
}
/**
- * Draws the icon onto the canvas given the source rectangle of the bitmap and the destination
+ * Draws the icon onto the canvas given the source rectangle of the bitmap and the destination
* rectangle of the canvas.
*/
protected void drawIconOnCanvas(Bitmap icon, Canvas canvas, Paint paint, RectF src, RectF dst) {
@@ -820,7 +820,7 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements
mInvalidChipBackground = r.getDrawable(R.drawable.chip_background_invalid);
}
mAvatarPosition = a.getInt(R.styleable.RecipientEditTextView_avatarPosition, 0);
- mDisableDelete = a.getBoolean(R.styleable.RecipientEditTextView_avatarPosition, false);
+ mDisableDelete = a.getBoolean(R.styleable.RecipientEditTextView_disableDelete, false);
mLineSpacingExtra = r.getDimension(R.dimen.line_spacing_extra);
mMaxLines = r.getInteger(R.integer.chips_max_lines);