diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-02-10 22:35:12 +0100 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-02-10 22:35:12 +0100 |
commit | 23294c5737f0759595ee6ee6e9d89f214208c7b2 (patch) | |
tree | 0ab7e15d39f3ea28448ce8229f7319c138d7e2ec /src/main/java | |
parent | 53e2f9608d1608d9bad7124ef129725dbbb7f9f5 (diff) |
changed message bubbles from PNG to XML
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/adapter/MessageAdapter.java | 6 |
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); } } |