From 66df41d9647f7735b6b4d0129af078a240dcca81 Mon Sep 17 00:00:00 2001 From: Kevin Lin Date: Thu, 27 Feb 2014 16:17:57 -0800 Subject: Fix build with VisibleRecipientChip Change-Id: Iea5154938872a56cb082b2814c446a6a741006f9 --- .../src/com/android/ex/chips/recipientchip/VisibleRecipientChip.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'chips') diff --git a/chips/src/com/android/ex/chips/recipientchip/VisibleRecipientChip.java b/chips/src/com/android/ex/chips/recipientchip/VisibleRecipientChip.java index 5a82f28..6d3d27d 100644 --- a/chips/src/com/android/ex/chips/recipientchip/VisibleRecipientChip.java +++ b/chips/src/com/android/ex/chips/recipientchip/VisibleRecipientChip.java @@ -19,6 +19,7 @@ package com.android.ex.chips.recipientchip; import android.graphics.Canvas; import android.graphics.Rect; import android.graphics.drawable.Drawable; +import android.text.style.DynamicDrawableSpan; import android.text.style.ImageSpan; import com.android.ex.chips.RecipientEntry; @@ -30,6 +31,10 @@ import com.android.ex.chips.RecipientEntry; public class VisibleRecipientChip extends ImageSpan implements DrawableRecipientChip { private final SimpleRecipientChip mDelegate; + public VisibleRecipientChip(final Drawable drawable, final RecipientEntry entry) { + this(drawable, entry, DynamicDrawableSpan.ALIGN_BOTTOM); + } + public VisibleRecipientChip(final Drawable drawable, final RecipientEntry entry, final int verticalAlignment) { super(drawable, verticalAlignment); -- cgit v1.2.3