blob: 5fe5187d971bfd127902e68a3e76f586e1de4341 [file] [log] [blame]
Owen Lina85c8022011-08-17 22:07:43 +08001<?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 Chenbc4be6e2011-08-19 11:00:00 +080017 <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" />
Mangesh Ghiware2f589c82012-09-27 21:05:41 -070022 <!-- Ideally, showAsAction for share_panorama and share should be reversed.
23 But, if share_panorama is set to never, it doesn't seem to get promoted
24 to the action bar and stays on the overflow menu. -->
25 <item android:id="@+id/action_share_panorama"
Owen Lina85c8022011-08-17 22:07:43 +080026 android:icon="@drawable/ic_menu_share_holo_light"
Mangesh Ghiware2f589c82012-09-27 21:05:41 -070027 android:title="@string/share_panorama"
Evan Millar78b8b372011-10-03 11:31:19 -070028 android:visible="false"
Owen Lina57d8fe2012-08-24 12:25:57 +080029 android:actionProviderClass="com.actionbarsherlock.widget.ShareActionProvider"
Ray Chenbc4be6e2011-08-19 11:00:00 +080030 android:showAsAction="ifRoom" />
Mangesh Ghiware2f589c82012-09-27 21:05:41 -070031 <item android:id="@+id/action_share"
32 android:icon="@drawable/ic_menu_share_holo_light"
33 android:title="@string/share"
34 android:visible="false"
35 android:actionProviderClass="com.actionbarsherlock.widget.ShareActionProvider"
36 android:showAsAction="never" />
Bobby Georgescu4ee977a2012-09-06 17:14:02 -070037 <item android:id="@+id/action_grid"
38 android:icon="@android:drawable/ic_dialog_dialer"
39 android:title="@string/switch_photo_grid"
40 android:showAsAction="ifRoom" />
Owen Lina85c8022011-08-17 22:07:43 +080041 <item android:id="@+id/action_delete"
42 android:icon="@drawable/ic_menu_trash_holo_light"
43 android:title="@string/delete"
Evan Millar78b8b372011-10-03 11:31:19 -070044 android:visible="false"
Wu-cheng Li66ad9ba2012-04-30 15:02:56 +080045 android:showAsAction="ifRoom" />
Owen Lina85c8022011-08-17 22:07:43 +080046 <item android:id="@+id/action_slideshow"
47 android:icon="@drawable/ic_menu_slideshow_holo_light"
48 android:title="@string/slideshow"
Ray Chenbc4be6e2011-08-19 11:00:00 +080049 android:showAsAction="never" />
Ray Chen2612ce82011-10-19 14:37:02 +080050 <item android:id="@+id/action_edit"
51 android:title="@string/edit"
52 android:showAsAction="never"
53 android:visible="false" />
Owen Lina85c8022011-08-17 22:07:43 +080054 <item android:id="@+id/action_rotate_ccw"
55 android:showAsAction="never"
56 android:title="@string/rotate_left" />
57 <item android:id="@+id/action_rotate_cw"
58 android:showAsAction="never"
59 android:title="@string/rotate_right" />
Owen Lina85c8022011-08-17 22:07:43 +080060 <item android:id="@+id/action_crop"
Yuli Huang9004bba2011-09-09 17:09:39 +080061 android:title="@string/crop_action"
Owen Lina85c8022011-08-17 22:07:43 +080062 android:showAsAction="never" />
Teng-Hui Zhu0d9061b2012-08-23 16:45:11 -070063 <item android:id="@+id/action_trim"
64 android:title="@string/trim_action"
65 android:showAsAction="never" />
Ray Chen2612ce82011-10-19 14:37:02 +080066 <item android:id="@+id/action_setas"
67 android:title="@string/set_image"
68 android:showAsAction="never" />
Wu-cheng Li66ad9ba2012-04-30 15:02:56 +080069 <item android:id="@+id/action_details"
70 android:title="@string/details"
71 android:showAsAction="never" />
Ray Chen2612ce82011-10-19 14:37:02 +080072 <item android:id="@+id/action_show_on_map"
73 android:title="@string/show_on_map"
74 android:showAsAction="never" />
Owen Lina85c8022011-08-17 22:07:43 +080075</menu>