changed color of 'whispered' prefix

fixes #1326
This commit is contained in:
Daniel Gultsch 2015-08-11 15:13:17 +02:00
parent fd81491b05
commit c0dcf4a55a

View File

@ -303,8 +303,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
} }
final Spannable span = new SpannableString(privateMarker + " " final Spannable span = new SpannableString(privateMarker + " "
+ formattedBody); + formattedBody);
span.setSpan(new ForegroundColorSpan(activity span.setSpan(new ForegroundColorSpan(getMessageTextColor(type,false)), 0, privateMarker
.getSecondaryTextColor()), 0, privateMarker
.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); .length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
span.setSpan(new StyleSpan(Typeface.BOLD), 0, span.setSpan(new StyleSpan(Typeface.BOLD), 0,
privateMarker.length(), privateMarker.length(),