forked from mirror/monocles_chat
improve readability of message date bubble
This commit is contained in:
parent
a2fa270368
commit
3bb0b85891
2 changed files with 2 additions and 2 deletions
|
@ -1498,7 +1498,7 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
viewHolder.status_message.setText(DateUtils.formatDateTime(activity, message.getTimeSent(), DateUtils.FORMAT_SHOW_DATE | DateUtils.FORMAT_SHOW_YEAR));
|
||||
}
|
||||
viewHolder.message_box.setBackgroundResource(darkBackground ? R.drawable.date_bubble_dark : R.drawable.date_bubble);
|
||||
int date_bubble_color = ColorUtils.setAlphaComponent(StyledAttributes.getColor(activity, R.attr.colorAccent), 80); //set alpha to date_bubble
|
||||
int date_bubble_color = ColorUtils.setAlphaComponent(StyledAttributes.getColor(activity, R.attr.colorAccent), 120); //set alpha to date_bubble
|
||||
activity.setBubbleColor(viewHolder.message_box, (date_bubble_color), -1); // themed color
|
||||
return view;
|
||||
} else if (type == RTP_SESSION) {
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="01.01.2017"
|
||||
android:textAppearance="@style/TextAppearance.Conversations.Body1.Secondary"
|
||||
android:textAppearance="@style/TextAppearance.Conversations.Body1.Secondary.OnDark"
|
||||
android:textStyle="italic" />
|
||||
</LinearLayout>
|
||||
|
||||
|
|
Loading…
Reference in a new issue