Slight reordering and add settings to compose menu
Bug: 5189476 Change-Id: I91fc0a718859fb55c79157236268dd6976ac0427
This commit is contained in:
parent
c2b829eb1a
commit
4520d35e7c
@ -44,5 +44,11 @@
|
||||
android:title="@string/show_quick_text_list_dialog_action"
|
||||
android:alphabeticShortcut="r"
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/settings"
|
||||
android:orderInCategory="2000"
|
||||
android:title="@string/settings_action"
|
||||
android:icon="@android:drawable/ic_menu_preferences"
|
||||
/>
|
||||
</menu>
|
||||
|
||||
|
@ -22,15 +22,15 @@
|
||||
android:icon="@drawable/ic_menu_send_holo_light"
|
||||
android:alphabeticShortcut="s"
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/add_attachment"
|
||||
android:title="@string/add_attachment_menu"
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/add_cc_bcc"
|
||||
android:icon="@drawable/ic_menu_cc_holo_light"
|
||||
android:title="@string/add_cc_bcc_menu"
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/add_attachment"
|
||||
android:title="@string/add_attachment_menu"
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/save"
|
||||
android:title="@string/save_draft_action"
|
||||
@ -47,4 +47,9 @@
|
||||
android:title="@string/show_quick_text_list_dialog_action"
|
||||
android:alphabeticShortcut="r"
|
||||
/>
|
||||
<item
|
||||
android:id="@+id/settings"
|
||||
android:title="@string/settings_action"
|
||||
android:icon="@android:drawable/ic_menu_preferences"
|
||||
/>
|
||||
</menu>
|
||||
|
@ -63,6 +63,7 @@ import com.android.email.EmailAddressAdapter;
|
||||
import com.android.email.EmailAddressValidator;
|
||||
import com.android.email.R;
|
||||
import com.android.email.RecipientAdapter;
|
||||
import com.android.email.activity.setup.AccountSettings;
|
||||
import com.android.email.mail.internet.EmailHtmlUtil;
|
||||
import com.android.emailcommon.Logging;
|
||||
import com.android.emailcommon.internet.MimeUtility;
|
||||
@ -1741,6 +1742,9 @@ public class MessageCompose extends Activity implements OnClickListener, OnFocus
|
||||
case R.id.add_attachment:
|
||||
onAddAttachment();
|
||||
return true;
|
||||
case R.id.settings:
|
||||
AccountSettings.actionSettings(this, mAccount.mId);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user