Like Gmail, we only want to set activated text to a diff color for two pane.

Fixes b/5699511 Draft message is showing in white color text

Change-Id: I9f15807936db8864a1752d56056b08ddfb32f121
This commit is contained in:
Mindy Pereira 2011-12-02 14:20:46 -08:00
parent dc931441d8
commit bb86a95acd

View File

@ -418,7 +418,8 @@ public class MessageListItem extends View {
}
private int getFontColor(int defaultColor) {
return isActivated() ? ACTIVATED_TEXT_COLOR : defaultColor;
return isActivated() && MessageListItemCoordinates.isMultiPane(mContext) ?
ACTIVATED_TEXT_COLOR : defaultColor;
}
@Override