summaryrefslogtreecommitdiffstats
path: root/chips
diff options
context:
space:
mode:
authorKevin Lin <linkevin@google.com>2014-02-28 00:23:20 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-28 00:23:20 +0000
commitab307ee275d8a77489a687348f8b84f137515555 (patch)
tree7349e3e15d3b703052ceff49c59aa5d4013f4ca1 /chips
parent4a0aacfe08caceb89c0124f8e234a26a457c95f4 (diff)
parent66df41d9647f7735b6b4d0129af078a240dcca81 (diff)
downloadandroid_frameworks_ex-ab307ee275d8a77489a687348f8b84f137515555.tar.gz
android_frameworks_ex-ab307ee275d8a77489a687348f8b84f137515555.tar.bz2
android_frameworks_ex-ab307ee275d8a77489a687348f8b84f137515555.zip
am 66df41d9: Fix build with VisibleRecipientChip
* commit '66df41d9647f7735b6b4d0129af078a240dcca81': Fix build with VisibleRecipientChip
Diffstat (limited to '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);