mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 14:48:04 -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:
parent
221888c45a
commit
cf143cda86
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user