5a3888f35b
Added "Insert quick response" button to MessageCompose's action bar. Clicking it opens dialog with available quick responses. Selecting one of the responses will insert it into message body at the current cursor location. Also added menu in account preferences to create, edit, and delete quick responses. Change-Id: I85f3f6b36801cf112ec9d7c31135a917456173d7
44 lines
1.5 KiB
XML
44 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2011 The Android Open Source Project
|
|
|
|
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.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
|
<item
|
|
android:id="@+id/send"
|
|
android:title="@string/send_action"
|
|
android:showAsAction="ifRoom|withText"
|
|
android:icon="@drawable/ic_menu_send_holo_light"
|
|
android:alphabeticShortcut="s"
|
|
/>
|
|
<item
|
|
android:id="@+id/save"
|
|
android:title="@string/save_draft_action"
|
|
android:showAsAction="ifRoom"
|
|
android:alphabeticShortcut="d"
|
|
/>
|
|
<item
|
|
android:id="@+id/discard"
|
|
android:title="@string/discard_action"
|
|
android:showAsAction="ifRoom"
|
|
android:icon="@drawable/ic_menu_trash_holo_light"
|
|
android:alphabeticShortcut="q"
|
|
/>
|
|
<item
|
|
android:id="@+id/show_quick_text_list_dialog"
|
|
android:title="@string/show_quick_text_list_dialog_action"
|
|
android:alphabeticShortcut="r"
|
|
/>
|
|
</menu>
|