summaryrefslogtreecommitdiffstats
path: root/chips
diff options
context:
space:
mode:
authorKevin Lin <linkevin@google.com>2014-02-28 00:33:37 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-28 00:33:37 +0000
commit53e68fc85221aca7a4bd91c7cf11785297ed7e63 (patch)
tree193776b104b8f36061b85d6ad0037cbe464996e3 /chips
parent82ef8639bf9c2d6e44fc6f903655e04da937dd52 (diff)
parent2c2b17ec4bb6ebcbd2e7de6e4c63500ed8102850 (diff)
downloadandroid_frameworks_ex-53e68fc85221aca7a4bd91c7cf11785297ed7e63.tar.gz
android_frameworks_ex-53e68fc85221aca7a4bd91c7cf11785297ed7e63.tar.bz2
android_frameworks_ex-53e68fc85221aca7a4bd91c7cf11785297ed7e63.zip
am 2c2b17ec: am 15fa87c9: am af559a10: am ab307ee2: am 66df41d9: Fix build with VisibleRecipientChip
* commit '2c2b17ec4bb6ebcbd2e7de6e4c63500ed8102850': 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);