diff --git a/res/drawable-hdpi/ic_folder_mark_unread_holo_dark.png b/res/drawable-hdpi/ic_folder_mark_unread_holo_dark.png new file mode 100644 index 000000000..9c2ceb2c4 Binary files /dev/null and b/res/drawable-hdpi/ic_folder_mark_unread_holo_dark.png differ diff --git a/res/drawable-hdpi/ic_folder_mark_unread_holo_light.png b/res/drawable-hdpi/ic_folder_mark_unread_holo_light.png new file mode 100644 index 000000000..90b33385e Binary files /dev/null and b/res/drawable-hdpi/ic_folder_mark_unread_holo_light.png differ diff --git a/res/drawable-mdpi/ic_folder_mark_unread_holo_dark.png b/res/drawable-mdpi/ic_folder_mark_unread_holo_dark.png new file mode 100644 index 000000000..ad7eee5d1 Binary files /dev/null and b/res/drawable-mdpi/ic_folder_mark_unread_holo_dark.png differ diff --git a/res/drawable-mdpi/ic_folder_mark_unread_holo_light.png b/res/drawable-mdpi/ic_folder_mark_unread_holo_light.png new file mode 100644 index 000000000..f2462cb2e Binary files /dev/null and b/res/drawable-mdpi/ic_folder_mark_unread_holo_light.png differ diff --git a/res/drawable-xhdpi/ic_folder_mark_unread_holo_dark.png b/res/drawable-xhdpi/ic_folder_mark_unread_holo_dark.png new file mode 100644 index 000000000..93c580ac5 Binary files /dev/null and b/res/drawable-xhdpi/ic_folder_mark_unread_holo_dark.png differ diff --git a/res/drawable-xhdpi/ic_folder_mark_unread_holo_light.png b/res/drawable-xhdpi/ic_folder_mark_unread_holo_light.png new file mode 100644 index 000000000..120e72bf6 Binary files /dev/null and b/res/drawable-xhdpi/ic_folder_mark_unread_holo_light.png differ diff --git a/res/drawable/ic_folder_mark_unread.xml b/res/drawable/ic_folder_mark_unread.xml new file mode 100644 index 000000000..a97b7017c --- /dev/null +++ b/res/drawable/ic_folder_mark_unread.xml @@ -0,0 +1,20 @@ + + + + + + \ No newline at end of file diff --git a/src/com/android/email/provider/EmailProvider.java b/src/com/android/email/provider/EmailProvider.java index ead947346..0056b209f 100644 --- a/src/com/android/email/provider/EmailProvider.java +++ b/src/com/android/email/provider/EmailProvider.java @@ -3008,8 +3008,7 @@ public class EmailProvider extends ContentProvider { " NOT IN (SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME + " WHERE " + MailboxColumns.TYPE + "=" + Mailbox.TYPE_TRASH + ")", null); row[UIProvider.FOLDER_UNREAD_COUNT_COLUMN] = count; - // TODO: Hijacking the mark unread icon for now. - row[UIProvider.FOLDER_ICON_RES_ID_COLUMN] = R.drawable.ic_menu_mark_unread_holo_light; + row[UIProvider.FOLDER_ICON_RES_ID_COLUMN] = R.drawable.ic_folder_mark_unread; mc.addRow(row); return mc; } else { @@ -3033,8 +3032,7 @@ public class EmailProvider extends ContentProvider { " NOT IN (SELECT " + MailboxColumns.ID + " FROM " + Mailbox.TABLE_NAME + " WHERE " + MailboxColumns.TYPE + "=" + Mailbox.TYPE_TRASH + ")", null); row[UIProvider.FOLDER_UNREAD_COUNT_COLUMN] = numUnread; - // TODO: Hijacking the mark unread icon for now. - row[UIProvider.FOLDER_ICON_RES_ID_COLUMN] = R.drawable.ic_menu_mark_unread_holo_light; + row[UIProvider.FOLDER_ICON_RES_ID_COLUMN] = R.drawable.ic_folder_mark_unread; mc.addRow(row); Cursor[] cursors = new Cursor[] {mc, c}; return new MergeCursor(cursors);