aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2015-08-26 21:12:19 +0200
committerDaniel Gultsch <daniel@gultsch.de>2015-08-26 21:12:19 +0200
commitc5abddc58428379ad47f72f588ad3308462a9c6b (patch)
treecb5724dff5345195c994b60b9603f71b75bc23df
parent1156ccbce2f9fa5a7b86a4caec8591ef8e2e6633 (diff)
fixed highlight text color for white chat bubbles
-rw-r--r--src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java
index d20761b2..2b48f19c 100644
--- a/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java
+++ b/src/main/java/eu/siacs/conversations/ui/adapter/MessageAdapter.java
@@ -323,6 +323,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
}
viewHolder.messageBody.setTextColor(this.getMessageTextColor(darkBackground, true));
viewHolder.messageBody.setLinkTextColor(this.getMessageTextColor(darkBackground,true));
+ viewHolder.messageBody.setHighlightColor(activity.getResources().getColor(darkBackground ? R.color.grey800 : R.color.grey500));
viewHolder.messageBody.setTypeface(null, Typeface.NORMAL);
viewHolder.messageBody.setTextIsSelectable(true);
}