mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-24 08:38:51 -05:00
Use the Button instead of the ImageButton.
This commit is contained in:
parent
ce9b280746
commit
33a92b11a2
@ -237,15 +237,16 @@
|
||||
android:textColor="@android:color/primary_text_light"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<ImageButton
|
||||
<Button
|
||||
android:id="@+id/quoted_text_show"
|
||||
android:text="@string/message_compose_show_quoted_text_action"
|
||||
android:textSize="16dip"
|
||||
android:padding="0dip"
|
||||
android:layout_gravity="right"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:visibility="gone"
|
||||
android:background="@drawable/btn_dialog" />
|
||||
android:layout_alignParentRight="true" />
|
||||
|
||||
<!-- Quoted text bar -->
|
||||
<RelativeLayout
|
||||
|
@ -270,7 +270,7 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin
|
||||
<string name="error_contact_address_not_found">No email address could be found.</string>
|
||||
<string name="message_compose_downloading_attachments_toast">Some attachments were not downloaded. They will be downloaded automatically before this message is sent.</string>
|
||||
<string name="message_compose_attachments_skipped_toast">Some attachments cannot be forwarded because they have not been downloaded.</string>
|
||||
|
||||
<string name="message_compose_show_quoted_text_action">Quote message</string>
|
||||
|
||||
|
||||
<string name="message_view_from_format">From: <xliff:g id="name">%s</xliff:g> <<xliff:g id="email">%s</xliff:g>></string>
|
||||
@ -1052,4 +1052,5 @@ Welcome to K-9 Mail setup. K-9 is an open source mail client for Android origin
|
||||
<string name="settings_attachment_default_path">Save attachments to...</string>
|
||||
<string name="attachment_save_title">Save attachment</string>
|
||||
<string name="attachment_save_desc">No file browser found. Where would you like to save this attachment?</string>
|
||||
|
||||
</resources>
|
||||
|
@ -38,6 +38,7 @@ import android.view.View.OnFocusChangeListener;
|
||||
import android.view.Window;
|
||||
import android.webkit.WebView;
|
||||
import android.widget.AutoCompleteTextView.Validator;
|
||||
import android.widget.Button;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.EditText;
|
||||
import android.widget.ImageButton;
|
||||
@ -179,7 +180,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
private EditText mSignatureView;
|
||||
private EditText mMessageContentView;
|
||||
private LinearLayout mAttachments;
|
||||
private ImageButton mQuotedTextShow;
|
||||
private Button mQuotedTextShow;
|
||||
private View mQuotedTextBar;
|
||||
private ImageButton mQuotedTextEdit;
|
||||
private ImageButton mQuotedTextDelete;
|
||||
@ -399,7 +400,7 @@ public class MessageCompose extends K9Activity implements OnClickListener, OnFoc
|
||||
mMessageContentView = (EditText)findViewById(R.id.message_content);
|
||||
mMessageContentView.getInputExtras(true).putBoolean("allowEmoji", true);
|
||||
mAttachments = (LinearLayout)findViewById(R.id.attachments);
|
||||
mQuotedTextShow = (ImageButton)findViewById(R.id.quoted_text_show);
|
||||
mQuotedTextShow = (Button)findViewById(R.id.quoted_text_show);
|
||||
mQuotedTextBar = findViewById(R.id.quoted_text_bar);
|
||||
mQuotedTextEdit = (ImageButton)findViewById(R.id.quoted_text_edit);
|
||||
mQuotedTextDelete = (ImageButton)findViewById(R.id.quoted_text_delete);
|
||||
|
Loading…
Reference in New Issue
Block a user