72 lines
2.6 KiB
XML
72 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2011 Google Inc.
|
|
Licensed to 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"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<!--
|
|
Nested menu on action bar allows the user to tap on the menu item to see an overflow
|
|
with the inner menu.
|
|
-->
|
|
<item android:id="@+id/add_attachment"
|
|
android:icon="@drawable/ic_attach_file_wht_24dp"
|
|
android:title="@string/add_file_attachment"
|
|
app:showAsAction="always">
|
|
|
|
<menu>
|
|
<item android:id="@+id/add_file_attachment"
|
|
android:title="@string/add_file_attachment"
|
|
app:showAsAction="never" />
|
|
|
|
<item android:id="@+id/add_photo_attachment"
|
|
android:title="@string/add_photo_attachment"
|
|
app:showAsAction="never" />
|
|
|
|
<item android:id="@+id/attach_from_service_stub1"
|
|
android:title="@string/attach_from_service_stub1"
|
|
app:showAsAction="never"
|
|
android:visible="false" />
|
|
</menu>
|
|
|
|
</item>
|
|
|
|
<item android:id="@+id/send"
|
|
android:icon="@drawable/ic_send_wht_24dp"
|
|
android:title="@string/send"
|
|
app:showAsAction="always"
|
|
android:alphabeticShortcut="@string/trigger_send_char" />
|
|
|
|
<item android:id="@+id/save"
|
|
android:title="@string/save_draft"
|
|
app:showAsAction="never"
|
|
android:alphabeticShortcut="@string/trigger_save_char" />
|
|
|
|
<item android:id="@+id/discard"
|
|
android:title="@string/discard"
|
|
app:showAsAction="never"
|
|
android:alphabeticShortcut="@string/trigger_delete_char" />
|
|
|
|
<item android:id="@+id/settings"
|
|
android:title="@string/menu_settings"
|
|
app:showAsAction="never"
|
|
android:alphabeticShortcut="@string/trigger_settings_char" />
|
|
|
|
<item android:id="@+id/help_info_menu_item"
|
|
android:title="@string/help_and_feedback"
|
|
android:alphabeticShortcut="@string/trigger_help_char" />
|
|
|
|
</menu>
|