diff --git a/res/layout-xlarge/message_view_fragment.xml b/res/layout-xlarge/message_view_fragment.xml
new file mode 100644
index 000000000..fe5f883eb
--- /dev/null
+++ b/res/layout-xlarge/message_view_fragment.xml
@@ -0,0 +1,369 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/res/layout/message_view_fragment.xml b/res/layout/message_view_fragment.xml
index a4646df5e..c769cf3c4 100644
--- a/res/layout/message_view_fragment.xml
+++ b/res/layout/message_view_fragment.xml
@@ -14,6 +14,7 @@
limitations under the License.
-->
+
@@ -78,13 +78,6 @@
android:ellipsize="end"
android:paddingRight="6dip"
/>
-
-
-
?android:attr/textAppearanceMedium
- ?android:attr/textColorPrimary
-
diff --git a/res/values/colors.xml b/res/values/colors.xml
index 55f7cd6d8..c301a4b19 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -4,9 +4,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -26,4 +26,7 @@
#000000
#303030
#fffff1a8
+
+
+ #ff808080
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 3625f0288..84adeb5fe 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -53,4 +53,9 @@
+
+
diff --git a/src/com/android/email/activity/MessageViewFragmentBase.java b/src/com/android/email/activity/MessageViewFragmentBase.java
index 757ceefbf..fa721279f 100644
--- a/src/com/android/email/activity/MessageViewFragmentBase.java
+++ b/src/com/android/email/activity/MessageViewFragmentBase.java
@@ -69,7 +69,6 @@ import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ProgressBar;
-import android.widget.QuickContactBadge;
import android.widget.TextView;
import java.io.File;
@@ -105,8 +104,7 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
private TextView mSubjectView;
private TextView mFromNameView;
private TextView mFromAddressView;
- private TextView mDateView;
- private TextView mTimeView;
+ private TextView mDateTimeView;
private TextView mToView;
private TextView mCcView;
private View mCcContainerView;
@@ -114,7 +112,6 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
private View mBccContainerView;
private WebView mMessageContentView;
private LinearLayout mAttachments;
- private ImageView mAttachmentIcon;
private View mTabSection;
private ImageView mFromBadge;
private ImageView mSenderPresenceView;
@@ -300,11 +297,9 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
mCcContainerView = view.findViewById(R.id.cc_container);
mBccView = (TextView) view.findViewById(R.id.bcc);
mBccContainerView = view.findViewById(R.id.bcc_container);
- mDateView = (TextView) view.findViewById(R.id.date);
- mTimeView = (TextView) view.findViewById(R.id.time);
+ mDateTimeView = (TextView) view.findViewById(R.id.datetime);
mMessageContentView = (WebView) view.findViewById(R.id.message_content);
mAttachments = (LinearLayout) view.findViewById(R.id.attachments);
- mAttachmentIcon = (ImageView) view.findViewById(R.id.attachment);
mTabSection = view.findViewById(R.id.message_tabs_section);
mFromBadge = (ImageView) view.findViewById(R.id.badge);
mSenderPresenceView = (ImageView) view.findViewById(R.id.presence);
@@ -491,7 +486,6 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
mInviteScroll.scrollTo(0, 0);
mAttachments.removeAllViews();
mAttachments.setVisibility(View.GONE);
- mAttachmentIcon.setVisibility(View.GONE);
initContactStatusViews();
}
@@ -1182,8 +1176,8 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
mFromAddressView.setText("");
}
Date date = new Date(message.mTimeStamp);
- mTimeView.setText(mTimeFormat.format(date));
- mDateView.setText(Utility.isDateToday(date) ? null : mDateFormat.format(date));
+ // STOPSHIP Use the same format as MessageListItem uses
+ mDateTimeView.setText(mTimeFormat.format(date));
mToView.setText(Address.toFriendly(Address.unpack(message.mTo)));
String friendlyCc = Address.toFriendly(Address.unpack(message.mCc));
mCcView.setText(friendlyCc);
@@ -1191,7 +1185,6 @@ public abstract class MessageViewFragmentBase extends Fragment implements View.O
String friendlyBcc = Address.toFriendly(Address.unpack(message.mBcc));
mBccView.setText(friendlyBcc);
mBccContainerView.setVisibility((friendlyBcc != null) ? View.VISIBLE : View.GONE);
- mAttachmentIcon.setVisibility(message.mAttachments != null ? View.VISIBLE : View.GONE);
}
/**