summaryrefslogtreecommitdiffstats
path: root/chips/src/com/android/ex/chips
diff options
context:
space:
mode:
authorKevin Lin <linkevin@google.com>2014-02-27 16:17:57 -0800
committerKevin Lin <linkevin@google.com>2014-02-27 16:17:57 -0800
commit66df41d9647f7735b6b4d0129af078a240dcca81 (patch)
tree63b57e43235b691627c78cfe5973dc9f7206c458 /chips/src/com/android/ex/chips
parentd4ae44ec6721e7819b246f70e23eb393cb8fb529 (diff)
downloadandroid_frameworks_ex-66df41d9647f7735b6b4d0129af078a240dcca81.tar.gz
android_frameworks_ex-66df41d9647f7735b6b4d0129af078a240dcca81.tar.bz2
android_frameworks_ex-66df41d9647f7735b6b4d0129af078a240dcca81.zip
Fix build with VisibleRecipientChip
Change-Id: Iea5154938872a56cb082b2814c446a6a741006f9
Diffstat (limited to 'chips/src/com/android/ex/chips')
-rw-r--r--chips/src/com/android/ex/chips/recipientchip/VisibleRecipientChip.java5
1 files changed, 5 insertions, 0 deletions
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);