mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42:15 -05:00
parent
fd81491b05
commit
c0dcf4a55a
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user