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
1 changed files with 14 additions and 7 deletions

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;