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

This commit is contained in:
Mindy Pereira 2011-12-02 14:27:23 -08:00 committed by Android (Google) Code Review
commit 50bf710937

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