Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 3 | Copyright (C) 2011 Google Inc. |
| 4 | Licensed to The Android Open Source Project. |
| 5 | |
| 6 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | you may not use this file except in compliance with the License. |
| 8 | You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, software |
| 13 | distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | See the License for the specific language governing permissions and |
| 16 | limitations under the License. |
Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 17 | --> |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 18 | <menu xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:app="http://schemas.android.com/apk/res-auto"> |
Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 20 | |
Jin Cao | f8c02b6 | 2014-07-23 14:59:15 -0700 | [diff] [blame] | 21 | <!-- |
| 22 | Nested menu on action bar allows the user to tap on the menu item to see an overflow |
| 23 | with the inner menu. |
| 24 | --> |
| 25 | <item android:id="@+id/add_attachment" |
| 26 | android:icon="@drawable/ic_attach_file_wht_24dp" |
Andrew Sapperstein | 5cb7180 | 2013-10-01 18:31:20 -0700 | [diff] [blame] | 27 | android:title="@string/add_file_attachment" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 28 | app:showAsAction="always"> |
Andrew Sapperstein | 5cb7180 | 2013-10-01 18:31:20 -0700 | [diff] [blame] | 29 | |
Jin Cao | f8c02b6 | 2014-07-23 14:59:15 -0700 | [diff] [blame] | 30 | <menu> |
| 31 | <item android:id="@+id/add_file_attachment" |
| 32 | android:title="@string/add_file_attachment" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 33 | app:showAsAction="never" /> |
Andy Huang | 91ede36 | 2014-01-21 19:16:00 -0800 | [diff] [blame] | 34 | |
Jin Cao | f8c02b6 | 2014-07-23 14:59:15 -0700 | [diff] [blame] | 35 | <item android:id="@+id/add_photo_attachment" |
| 36 | android:title="@string/add_photo_attachment" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 37 | app:showAsAction="never" /> |
Jin Cao | f8c02b6 | 2014-07-23 14:59:15 -0700 | [diff] [blame] | 38 | |
| 39 | <item android:id="@+id/attach_from_service_stub1" |
| 40 | android:title="@string/attach_from_service_stub1" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 41 | app:showAsAction="never" |
Jin Cao | f8c02b6 | 2014-07-23 14:59:15 -0700 | [diff] [blame] | 42 | android:visible="false" /> |
| 43 | </menu> |
| 44 | |
| 45 | </item> |
| 46 | |
| 47 | <item android:id="@+id/send" |
| 48 | android:icon="@drawable/ic_send_wht_24dp" |
| 49 | android:title="@string/send" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 50 | app:showAsAction="always" /> |
Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 51 | |
Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 52 | <item android:id="@+id/save" |
Mindy Pereira | 326c660 | 2012-01-04 15:32:42 -0800 | [diff] [blame] | 53 | android:title="@string/save_draft" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 54 | app:showAsAction="never" /> |
Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 55 | |
| 56 | <item android:id="@+id/discard" |
Mindy Pereira | 578bd6b | 2012-05-15 10:11:57 -0700 | [diff] [blame] | 57 | android:title="@string/discard" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 58 | app:showAsAction="never" /> |
Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 59 | |
Mindy Pereira | 1f93668 | 2012-03-02 11:30:33 -0800 | [diff] [blame] | 60 | <item android:id="@+id/settings" |
| 61 | android:title="@string/menu_settings" |
Andrew Sapperstein | 52882ff | 2014-07-27 12:30:18 -0700 | [diff] [blame] | 62 | app:showAsAction="never" /> |
Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 63 | |
| 64 | <item |
Mark Wei | 22297b1 | 2012-08-30 16:37:53 -0700 | [diff] [blame] | 65 | android:id="@+id/help_info_menu_item" |
Ray Chen | a57da3c | 2014-06-10 16:01:40 +0200 | [diff] [blame] | 66 | android:title="@string/help_and_feedback" /> |
Mark Wei | 22297b1 | 2012-08-30 16:37:53 -0700 | [diff] [blame] | 67 | |
Mindy Pereira | b47f3e2 | 2011-12-13 14:25:04 -0800 | [diff] [blame] | 68 | </menu> |