From 23294c5737f0759595ee6ee6e9d89f214208c7b2 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Fri, 10 Feb 2017 22:35:12 +0100 Subject: changed message bubbles from PNG to XML --- src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/de') diff --git a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java index f8eb6e044..fa65b3af6 100644 --- a/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java +++ b/src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java @@ -933,10 +933,10 @@ public class MessageAdapter extends ArrayAdapter implements CopyTextVie if (type == RECEIVED) { if (isInValidSession) { - viewHolder.message_box.setBackgroundResource(R.drawable.message_bubble_received); + viewHolder.message_box.setBackgroundResource(R.drawable.message_bubble_received_white); viewHolder.encryption.setVisibility(View.GONE); } else { - viewHolder.message_box.setBackgroundResource(R.drawable.message_bubble_received_warning); + viewHolder.message_box.setBackgroundResource(R.drawable.message_bubble_received_lightred); viewHolder.encryption.setVisibility(View.VISIBLE); if (omemoEncryption && !message.isTrusted()) { viewHolder.encryption.setText(R.string.not_trusted); @@ -950,7 +950,7 @@ public class MessageAdapter extends ArrayAdapter implements CopyTextVie if (mUseWhiteBackground) { viewHolder.message_box.setBackgroundResource(R.drawable.message_bubble_sent_white); } else { - viewHolder.message_box.setBackgroundResource(R.drawable.message_bubble_sent); + viewHolder.message_box.setBackgroundResource(R.drawable.message_bubble_sent_lightblue); } } -- cgit v1.2.3