1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-28 04:02:19 -05:00

Make the "header" section addressable in messageView (for later hiding)

This commit is contained in:
Jesse Vincent 2010-07-11 15:30:53 +00:00
parent b3e6844e44
commit 0a848d6526

View File

@ -95,6 +95,7 @@ public class MessageView extends K9Activity implements OnClickListener
private CheckBox mFlagged; private CheckBox mFlagged;
private int defaultSubjectColor; private int defaultSubjectColor;
private WebView mMessageContentView; private WebView mMessageContentView;
private LinearLayout mHeaderContainer;
private LinearLayout mAttachments; private LinearLayout mAttachments;
private LinearLayout mCcContainerView; private LinearLayout mCcContainerView;
private TextView mAdditionalHeadersView; private TextView mAdditionalHeadersView;
@ -652,6 +653,7 @@ public class MessageView extends K9Activity implements OnClickListener
setContentView(R.layout.message_view); setContentView(R.layout.message_view);
mHeaderContainer = (LinearLayout)findViewById(R.id.header_container);
mFromView = (TextView)findViewById(R.id.from); mFromView = (TextView)findViewById(R.id.from);
mToView = (TextView)findViewById(R.id.to); mToView = (TextView)findViewById(R.id.to);