Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2010 Google Inc. |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | <menu xmlns:android="http://schemas.android.com/apk/res/android"> |
Ray Chen | bc4be6e | 2011-08-19 11:00:00 +0800 | [diff] [blame] | 17 | <item android:id="@+id/action_import" |
| 18 | android:title="@string/Import" |
| 19 | android:icon="@drawable/ic_menu_ptp_holo_light" |
| 20 | android:showAsAction="always|withText" |
| 21 | android:visible="false" /> |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 22 | <item android:id="@+id/action_share" |
| 23 | android:icon="@drawable/ic_menu_share_holo_light" |
| 24 | android:title="@string/share" |
| 25 | android:enabled="true" |
| 26 | android:actionProviderClass="android.widget.ShareActionProvider" |
Evan Millar | 78b8b37 | 2011-10-03 11:31:19 -0700 | [diff] [blame] | 27 | android:visible="false" |
Ray Chen | bc4be6e | 2011-08-19 11:00:00 +0800 | [diff] [blame] | 28 | android:showAsAction="ifRoom" /> |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 29 | <item android:id="@+id/action_delete" |
| 30 | android:icon="@drawable/ic_menu_trash_holo_light" |
| 31 | android:title="@string/delete" |
Evan Millar | 78b8b37 | 2011-10-03 11:31:19 -0700 | [diff] [blame] | 32 | android:visible="false" |
Ray Chen | 988b74c | 2012-04-05 17:25:43 +0800 | [diff] [blame] | 33 | android:showAsAction="never" /> |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 34 | <item android:id="@+id/action_slideshow" |
| 35 | android:icon="@drawable/ic_menu_slideshow_holo_light" |
| 36 | android:title="@string/slideshow" |
Ray Chen | bc4be6e | 2011-08-19 11:00:00 +0800 | [diff] [blame] | 37 | android:showAsAction="never" /> |
Ray Chen | 2612ce8 | 2011-10-19 14:37:02 +0800 | [diff] [blame] | 38 | <item android:id="@+id/action_edit" |
| 39 | android:title="@string/edit" |
| 40 | android:showAsAction="never" |
| 41 | android:visible="false" /> |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 42 | <item android:id="@+id/action_rotate_ccw" |
| 43 | android:showAsAction="never" |
| 44 | android:title="@string/rotate_left" /> |
| 45 | <item android:id="@+id/action_rotate_cw" |
| 46 | android:showAsAction="never" |
| 47 | android:title="@string/rotate_right" /> |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 48 | <item android:id="@+id/action_crop" |
Yuli Huang | 9004bba | 2011-09-09 17:09:39 +0800 | [diff] [blame] | 49 | android:title="@string/crop_action" |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 50 | android:showAsAction="never" /> |
Ray Chen | 2612ce8 | 2011-10-19 14:37:02 +0800 | [diff] [blame] | 51 | <item android:id="@+id/action_details" |
| 52 | android:title="@string/details" |
| 53 | android:showAsAction="never" /> |
| 54 | <item android:id="@+id/action_setas" |
| 55 | android:title="@string/set_image" |
| 56 | android:showAsAction="never" /> |
| 57 | <item android:id="@+id/action_show_on_map" |
| 58 | android:title="@string/show_on_map" |
| 59 | android:showAsAction="never" /> |
Owen Lin | a85c802 | 2011-08-17 22:07:43 +0800 | [diff] [blame] | 60 | </menu> |