new emoji drawer

// FREEBIE
Closes #1746
This commit is contained in:
Jake McGinty
2014-05-28 20:53:34 -07:00
committed by Moxie Marlinspike
parent bea3c33223
commit 530ad7bc86
141 changed files with 842 additions and 311 deletions

View File

@@ -228,13 +228,8 @@ public class ConversationItem extends LinearLayout {
}
private void setBodyText(MessageRecord messageRecord) {
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
bodyText.setText(Emoji.getInstance(context).emojify(messageRecord.getDisplayBody(), Emoji.EMOJI_LARGE),
bodyText.setText(Emoji.getInstance(context).emojify(messageRecord.getDisplayBody(), new Emoji.InvalidatingPageLoadedListener(bodyText)),
TextView.BufferType.SPANNABLE);
} else {
bodyText.setText(messageRecord.getDisplayBody());
}
}
private void setContactPhoto(MessageRecord messageRecord) {