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:
parent
dc931441d8
commit
bb86a95acd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user