add comments to my changes
This commit is contained in:
parent
3f8fc85aad
commit
75fcbfb8c8
1 changed files with 4 additions and 4 deletions
|
@ -1154,8 +1154,8 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
}
|
||||
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);
|
||||
activity.setBubbleColor(viewHolder.message_box, (date_bubble_color), -1);
|
||||
int date_bubble_color = ColorUtils.setAlphaComponent(StyledAttributes.getColor(activity, R.attr.colorAccent), 80); //set alpha to date_bubble
|
||||
activity.setBubbleColor(viewHolder.message_box, (date_bubble_color), -1); // themed color
|
||||
return view;
|
||||
} else if (type == RTP_SESSION) {
|
||||
final boolean isDarkTheme = activity.isDarkTheme();
|
||||
|
@ -1180,8 +1180,8 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
viewHolder.indicatorReceived.setAlpha(isDarkTheme ? 0.7f : 0.57f);
|
||||
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);
|
||||
activity.setBubbleColor(viewHolder.message_box, (date_bubble_color), -1);
|
||||
int date_bubble_color = ColorUtils.setAlphaComponent(StyledAttributes.getColor(activity, R.attr.colorAccent), 80); //set alpha to date bubble
|
||||
activity.setBubbleColor(viewHolder.message_box, (date_bubble_color), -1); //themed color
|
||||
return view;
|
||||
} else if (type == STATUS) {
|
||||
if ("LOAD_MORE".equals(message.getBody())) {
|
||||
|
|
Loading…
Add table
Reference in a new issue