Home | History | Annotate | Download | only in menu
      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">
     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" />
     22     <!-- 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"
     26             android:icon="@drawable/ic_menu_share_holo_light"
     27             android:title="@string/share_panorama"
     28             android:visible="false"
     29             android:actionProviderClass="android.widget.ShareActionProvider"
     30             android:showAsAction="ifRoom" />
     31     <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="android.widget.ShareActionProvider"
     36             android:showAsAction="never" />
     37     <item android:id="@+id/action_delete"
     38             android:icon="@drawable/ic_menu_trash_holo_light"
     39             android:title="@string/delete"
     40             android:visible="false"
     41             android:showAsAction="never" />
     42     <item android:id="@+id/action_slideshow"
     43             android:icon="@drawable/ic_menu_slideshow_holo_light"
     44             android:title="@string/slideshow"
     45             android:showAsAction="never" />
     46     <item android:id="@+id/action_edit"
     47             android:title="@string/edit"
     48             android:showAsAction="never"
     49             android:visible="false" />
     50     <item android:id="@+id/action_simple_edit"
     51           android:title="@string/simple_edit"
     52           android:showAsAction="never"
     53           android:visible="false" />
     54     <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" />
     60     <item android:id="@+id/action_crop"
     61             android:title="@string/crop_action"
     62             android:showAsAction="never" />
     63     <item android:id="@+id/action_trim"
     64             android:title="@string/trim_action"
     65             android:showAsAction="never" />
     66     <item android:id="@+id/action_mute"
     67             android:title="@string/mute_action"
     68             android:showAsAction="never" />
     69     <item android:id="@+id/action_setas"
     70             android:title="@string/set_image"
     71             android:showAsAction="never" />
     72     <item android:id="@+id/action_details"
     73             android:title="@string/details"
     74             android:showAsAction="never" />
     75     <item android:id="@+id/action_show_on_map"
     76             android:title="@string/show_on_map"
     77             android:showAsAction="never" />
     78     <item android:id="@+id/print"
     79           android:title="@string/print_image"
     80           android:showAsAction="never" />
     81 </menu>
     82