aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui/adapter
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-02-10 22:35:12 +0100
committerChristian Schneppe <christian@pix-art.de>2017-02-10 22:35:12 +0100
commit23294c5737f0759595ee6ee6e9d89f214208c7b2 (patch)
tree0ab7e15d39f3ea28448ce8229f7319c138d7e2ec /src/main/java/de/pixart/messenger/ui/adapter
parent53e2f9608d1608d9bad7124ef129725dbbb7f9f5 (diff)
changed message bubbles from PNG to XML
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui/adapter')
-rw-r--r--src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java6
1 files changed, 3 insertions, 3 deletions
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<Message> 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<Message> 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);
}
}