mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 05:02:26 -05:00
Removed on-screen buttons in message compose view.
This commit is contained in:
parent
36e67b111d
commit
5e5d148bb7
@ -91,17 +91,5 @@
|
|||||||
android:layout_width="fill_parent" />
|
android:layout_width="fill_parent" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
<LinearLayout android:orientation="horizontal"
|
|
||||||
android:layout_width="fill_parent" android:layout_height="54px"
|
|
||||||
android:background="@drawable/bottombar_565" android:gravity="center_vertical">
|
|
||||||
<Button android:id="@+id/send" android:text="@string/send_action"
|
|
||||||
android:layout_height="wrap_content" android:layout_width="0dip"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
<Button android:id="@+id/save" android:text="@string/save_draft_action"
|
|
||||||
android:layout_height="wrap_content" android:layout_width="0dip"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
<Button android:id="@+id/discard" android:text="@string/discard_action"
|
|
||||||
android:layout_height="wrap_content" android:layout_width="0dip"
|
|
||||||
android:layout_weight="1" />
|
|
||||||
</LinearLayout>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -262,9 +262,9 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||||||
mBccView = (MultiAutoCompleteTextView)findViewById(R.id.bcc);
|
mBccView = (MultiAutoCompleteTextView)findViewById(R.id.bcc);
|
||||||
mSubjectView = (EditText)findViewById(R.id.subject);
|
mSubjectView = (EditText)findViewById(R.id.subject);
|
||||||
mMessageContentView = (EditText)findViewById(R.id.message_content);
|
mMessageContentView = (EditText)findViewById(R.id.message_content);
|
||||||
mSendButton = (Button)findViewById(R.id.send);
|
// mSendButton = (Button)findViewById(R.id.send);
|
||||||
mDiscardButton = (Button)findViewById(R.id.discard);
|
// mDiscardButton = (Button)findViewById(R.id.discard);
|
||||||
mSaveButton = (Button)findViewById(R.id.save);
|
// mSaveButton = (Button)findViewById(R.id.save);
|
||||||
mAttachments = (LinearLayout)findViewById(R.id.attachments);
|
mAttachments = (LinearLayout)findViewById(R.id.attachments);
|
||||||
mQuotedTextBar = findViewById(R.id.quoted_text_bar);
|
mQuotedTextBar = findViewById(R.id.quoted_text_bar);
|
||||||
mQuotedTextDelete = (ImageButton)findViewById(R.id.quoted_text_delete);
|
mQuotedTextDelete = (ImageButton)findViewById(R.id.quoted_text_delete);
|
||||||
@ -309,9 +309,9 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||||||
mBccView.setTokenizer(new Rfc822Tokenizer());
|
mBccView.setTokenizer(new Rfc822Tokenizer());
|
||||||
mBccView.setValidator(mAddressValidator);
|
mBccView.setValidator(mAddressValidator);
|
||||||
|
|
||||||
mSendButton.setOnClickListener(this);
|
// mSendButton.setOnClickListener(this);
|
||||||
mDiscardButton.setOnClickListener(this);
|
// mDiscardButton.setOnClickListener(this);
|
||||||
mSaveButton.setOnClickListener(this);
|
// mSaveButton.setOnClickListener(this);
|
||||||
|
|
||||||
mSubjectView.setOnFocusChangeListener(this);
|
mSubjectView.setOnFocusChangeListener(this);
|
||||||
|
|
||||||
@ -780,15 +780,15 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
|||||||
|
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
switch (view.getId()) {
|
switch (view.getId()) {
|
||||||
case R.id.send:
|
// case R.id.send:
|
||||||
onSend();
|
// onSend();
|
||||||
break;
|
// break;
|
||||||
case R.id.save:
|
// case R.id.save:
|
||||||
onSave();
|
// onSave();
|
||||||
break;
|
// break;
|
||||||
case R.id.discard:
|
// case R.id.discard:
|
||||||
onDiscard();
|
// onDiscard();
|
||||||
break;
|
// break;
|
||||||
case R.id.attachment_delete:
|
case R.id.attachment_delete:
|
||||||
/*
|
/*
|
||||||
* The view is the delete button, and we have previously set the tag of
|
* The view is the delete button, and we have previously set the tag of
|
||||||
|
Loading…
Reference in New Issue
Block a user