blob: 8651e90bd2494a9ce5b32eca72cf174d43b3e837 [file] [log] [blame]
ztenghui0353ca22013-08-13 13:53:16 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 Copyright (C) 2013 The Android Open Source Project
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<menu xmlns:android="http://schemas.android.com/apk/res/android">
Mangesh Ghiware33035c12013-08-23 13:28:21 -070018 <!-- Ideally, showAsAction for share_panorama and share should be reversed.
19 But, if share_panorama is set to never, it doesn't seem to get promoted
20 to the action bar and stays on the overflow menu. -->
Mangesh Ghiwarecd2eeb02013-08-23 13:28:21 -070021 <item android:id="@+id/action_share_panorama"
Danny Baumannd4d81ee2016-11-29 09:54:27 +010022 android:icon="@drawable/ic_menu_share"
Mangesh Ghiwarecd2eeb02013-08-23 13:28:21 -070023 android:title="@string/share_panorama"
24 android:visible="false"
25 android:actionProviderClass="android.widget.ShareActionProvider"
Mangesh Ghiware33035c12013-08-23 13:28:21 -070026 android:showAsAction="ifRoom" />
27 <item android:id="@+id/action_share"
Danny Baumannd4d81ee2016-11-29 09:54:27 +010028 android:icon="@drawable/ic_menu_share"
Mangesh Ghiware33035c12013-08-23 13:28:21 -070029 android:title="@string/share"
30 android:visible="false"
31 android:actionProviderClass="android.widget.ShareActionProvider"
Mangesh Ghiwarecd2eeb02013-08-23 13:28:21 -070032 android:showAsAction="never" />
ztenghui0353ca22013-08-13 13:53:16 -070033 <item android:id="@+id/action_delete"
Danny Baumannd4d81ee2016-11-29 09:54:27 +010034 android:icon="@drawable/ic_menu_delete"
ztenghui0353ca22013-08-13 13:53:16 -070035 android:title="@string/delete"
36 android:visible="false"
ztenghui8c72b252013-10-02 13:31:35 -070037 android:showAsAction="ifRoom" />
ztenghui0353ca22013-08-13 13:53:16 -070038 <item android:id="@+id/action_edit"
39 android:title="@string/edit"
40 android:showAsAction="never"
41 android:visible="false" />
42 <item android:id="@+id/action_trim"
43 android:title="@string/trim_action"
44 android:showAsAction="never"
45 android:visible="false" />
ztenghui0353ca22013-08-13 13:53:16 -070046 <item android:id="@+id/action_rotate_ccw"
47 android:showAsAction="never"
48 android:visible="false"
49 android:title="@string/rotate_left" />
50 <item android:id="@+id/action_rotate_cw"
51 android:showAsAction="never"
52 android:visible="false"
53 android:title="@string/rotate_right" />
54 <item android:id="@+id/action_crop"
55 android:title="@string/crop_action"
56 android:showAsAction="never"
57 android:visible="false" />
58 <item android:id="@+id/action_setas"
59 android:title="@string/set_image"
60 android:showAsAction="never"
61 android:visible="false" />
62 <item android:id="@+id/action_details"
63 android:icon="@drawable/ic_menu_info_details"
64 android:title="@string/details"
65 android:visible="false"
66 android:showAsAction="never" />
67 <item android:id="@+id/action_show_on_map"
68 android:title="@string/show_on_map"
69 android:showAsAction="never"
70 android:visible="false" />
71</menu>