Use grey background for read messages in the message list
This commit is contained in:
parent
2e454f0af7
commit
66911a0624
3 changed files with 2 additions and 6 deletions
|
@ -17,8 +17,6 @@ public class MessageInfoHolder {
|
|||
public boolean read;
|
||||
public boolean answered;
|
||||
public boolean flagged;
|
||||
public boolean downloaded;
|
||||
public boolean partially_downloaded;
|
||||
public boolean dirty;
|
||||
public LocalMessage message;
|
||||
public FolderInfoHolder folder;
|
||||
|
|
|
@ -2359,8 +2359,8 @@ public class MessageList
|
|||
|
||||
|
||||
holder.chip.setBackgroundDrawable(message.message.getFolder().getAccount().generateColorChip().drawable());
|
||||
holder.chip.getBackground().setAlpha(message.read ? 127 : 255);
|
||||
view.getBackground().setAlpha(message.downloaded ? 0 : 127);
|
||||
|
||||
view.getBackground().setAlpha(message.read ? 100 : 0);
|
||||
|
||||
if ((message.message.getSubject() == null) || message.message.getSubject().equals("")) {
|
||||
holder.subject.setText(getText(R.string.general_no_subject));
|
||||
|
|
|
@ -60,8 +60,6 @@ public class MessageHelper {
|
|||
target.read = message.isSet(Flag.SEEN);
|
||||
target.answered = message.isSet(Flag.ANSWERED);
|
||||
target.flagged = message.isSet(Flag.FLAGGED);
|
||||
target.downloaded = message.isSet(Flag.X_DOWNLOADED_FULL);
|
||||
target.partially_downloaded = message.isSet(Flag.X_DOWNLOADED_PARTIAL);
|
||||
|
||||
Address[] addrs = message.getFrom();
|
||||
|
||||
|
|
Loading…
Reference in a new issue