1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 17:18:50 -05:00

Fixed issue with reply icon in subject in message view screen not being set properly when navigating around using up and down arrows

This commit is contained in:
Bao-Long Nguyen-Trong 2009-11-09 06:02:46 +00:00
parent 221888c45a
commit cf143cda86

View File

@ -262,13 +262,20 @@ public class MessageView extends K9Activity
mSubjectView.setTextColor(0xff000000 | defaultSubjectColor );
}
if ((msg.arg2 & FLAG_ANSWERED) != 0) {
Drawable answeredIcon = getResources().getDrawable(
R.drawable.ic_mms_answered_small);
mSubjectView.setCompoundDrawablesWithIntrinsicBounds(
answeredIcon, // left
null, // top
null, // right
null); // bottom
Drawable answeredIcon = getResources().getDrawable(
R.drawable.ic_mms_answered_small);
mSubjectView.setCompoundDrawablesWithIntrinsicBounds(
answeredIcon, // left
null, // top
null, // right
null); // bottom
}
else {
mSubjectView.setCompoundDrawablesWithIntrinsicBounds(
null, // left
null, // top
null, // right
null); // bottom
}
break;