diff --git a/res/values/attrs.xml b/res/values/attrs.xml
index 5309ad5f71..85e89a63b0 100644
--- a/res/values/attrs.xml
+++ b/res/values/attrs.xml
@@ -11,6 +11,7 @@
+
diff --git a/res/values/themes.xml b/res/values/themes.xml
index 2af07fccd3..66cced2f93 100644
--- a/res/values/themes.xml
+++ b/res/values/themes.xml
@@ -136,6 +136,7 @@
- @color/core_light_60
- @color/core_light_35
- @color/core_light_60
+ - @color/core_black
- @drawable/conversation_list_divider_shape
- @color/textsecure_primary
@@ -278,6 +279,7 @@
- #ffdddddd
- @color/core_dark_55
- #ffdddddd
+ - @color/core_white
- @drawable/conversation_list_divider_shape_dark
- #99ffffff
diff --git a/src/org/thoughtcrime/securesms/ConversationListItem.java b/src/org/thoughtcrime/securesms/ConversationListItem.java
index fa32f599b9..1fe541ee8c 100644
--- a/src/org/thoughtcrime/securesms/ConversationListItem.java
+++ b/src/org/thoughtcrime/securesms/ConversationListItem.java
@@ -50,6 +50,7 @@ import org.thoughtcrime.securesms.recipients.Recipient;
import org.thoughtcrime.securesms.recipients.RecipientModifiedListener;
import org.thoughtcrime.securesms.search.model.MessageResult;
import org.thoughtcrime.securesms.util.DateUtils;
+import org.thoughtcrime.securesms.util.ThemeUtil;
import org.thoughtcrime.securesms.util.Util;
import org.thoughtcrime.securesms.util.ViewUtil;
@@ -148,12 +149,16 @@ public class ConversationListItem extends RelativeLayout
}
this.subjectView.setText(thread.getDisplayBody());
-// this.subjectView.setTypeface(read ? LIGHT_TYPEFACE : BOLD_TYPEFACE);
+ this.subjectView.setTypeface(unreadCount == 0 ? LIGHT_TYPEFACE : BOLD_TYPEFACE);
+ this.subjectView.setTextColor(unreadCount == 0 ? ThemeUtil.getThemedColor(getContext(), R.attr.conversation_list_item_subject_color)
+ : ThemeUtil.getThemedColor(getContext(), R.attr.conversation_list_item_unread_color));
if (thread.getDate() > 0) {
CharSequence date = DateUtils.getBriefRelativeTimeSpanString(getContext(), locale, thread.getDate());
- dateView.setText(unreadCount == 0 ? date : color(getResources().getColor(R.color.textsecure_primary_dark), date));
+ dateView.setText(date);
dateView.setTypeface(unreadCount == 0 ? LIGHT_TYPEFACE : BOLD_TYPEFACE);
+ dateView.setTextColor(unreadCount == 0 ? ThemeUtil.getThemedColor(getContext(), R.attr.conversation_list_item_date_color)
+ : ThemeUtil.getThemedColor(getContext(), R.attr.conversation_list_item_unread_color));
}
if (thread.isArchived()) {