1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04: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 ); mSubjectView.setTextColor(0xff000000 | defaultSubjectColor );
} }
if ((msg.arg2 & FLAG_ANSWERED) != 0) { if ((msg.arg2 & FLAG_ANSWERED) != 0) {
Drawable answeredIcon = getResources().getDrawable( Drawable answeredIcon = getResources().getDrawable(
R.drawable.ic_mms_answered_small); R.drawable.ic_mms_answered_small);
mSubjectView.setCompoundDrawablesWithIntrinsicBounds( mSubjectView.setCompoundDrawablesWithIntrinsicBounds(
answeredIcon, // left answeredIcon, // left
null, // top null, // top
null, // right null, // right
null); // bottom null); // bottom
}
else {
mSubjectView.setCompoundDrawablesWithIntrinsicBounds(
null, // left
null, // top
null, // right
null); // bottom
} }
break; break;