mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-03 23:15:44 +01:00
ditch RoundedImageView, make animated gifs work
// FREEBIE
This commit is contained in:
committed by
Moxie Marlinspike
parent
a66dd8be82
commit
f13ad54ba1
@@ -218,11 +218,12 @@ public class ConversationItem extends LinearLayout implements Recipient.Recipien
|
||||
private void setBubbleState(MessageRecord messageRecord, Recipient recipient) {
|
||||
if (messageRecord.isOutgoing()) {
|
||||
bodyBubble.getBackground().setColorFilter(defaultBubbleColor, PorterDuff.Mode.MULTIPLY);
|
||||
mediaThumbnail.setBackgroundColorHint(defaultBubbleColor);
|
||||
} else {
|
||||
bodyBubble.getBackground().setColorFilter(recipient.getColor().toConversationColor(context),
|
||||
PorterDuff.Mode.MULTIPLY);
|
||||
int color = recipient.getColor().toConversationColor(context);
|
||||
bodyBubble.getBackground().setColorFilter(color, PorterDuff.Mode.MULTIPLY);
|
||||
mediaThumbnail.setBackgroundColorHint(color);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void setSelectionBackgroundDrawables(MessageRecord messageRecord) {
|
||||
|
||||
Reference in New Issue
Block a user