From e9b57c9e260f245b4527116143206e2d62f24edd Mon Sep 17 00:00:00 2001 From: Scott Kennedy Date: Tue, 28 Jan 2014 16:36:19 -0800 Subject: Fix a small bug Change-Id: I92babdcb1488195a073d2393b03083c8c74f740f --- chips/src/com/android/ex/chips/RecipientEditTextView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chips') 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); -- cgit v1.2.3