Home | History | Annotate | Download | only in menu
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!-- Copyright (C) 2008 The Android Open Source Project
      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 
     17 <menu xmlns:android="http://schemas.android.com/apk/res/android">
     18     <group
     19         android:id="@+id/MAIN_MENU">
     20         <group
     21             android:id="@+id/NAV_MENU"
     22             android:visible="@bool/menu_show_navigation">
     23             <item
     24                 android:id="@+id/stop_reload_menu_id"
     25                 android:alphabeticShortcut="r" />
     26             <item
     27                 android:id="@+id/forward_menu_id"
     28                 android:title="@string/forward"
     29                 android:icon="@*android:drawable/ic_menu_forward" />
     30         </group>
     31         <item
     32             android:id="@+id/new_tab_menu_id"
     33             android:title="@string/new_tab"
     34             android:icon="@drawable/ic_new_window_holo_dark"
     35             android:showAsAction="never"
     36             android:alphabeticShortcut="n" />
     37         <item
     38             android:id="@+id/incognito_menu_id"
     39             android:title="@string/new_incognito_tab"
     40             android:icon="@drawable/ic_new_incognito_holo_dark" />
     41         <item
     42             android:id="@+id/bookmarks_menu_id"
     43             android:title="@string/bookmarks"
     44             android:icon="@drawable/ic_bookmarks_holo_dark"
     45             android:showAsAction="never" />
     46         <item
     47             android:id="@+id/add_bookmark_menu_id"
     48             android:title="@string/save_to_bookmarks"
     49             android:icon="@drawable/ic_bookmark_on_holo_dark"
     50             android:alphabeticShortcut="d"
     51             android:visible="@bool/menu_show_bookmarks" />
     52         <group
     53             android:id="@+id/LIVE_MENU">
     54             <item
     55                 android:id="@+id/share_page_menu_id"
     56                 android:title="@string/share_page"
     57                 android:icon="@drawable/ic_share_holo_dark"
     58                 android:alphabeticShortcut="s" />
     59             <item
     60                 android:id="@+id/find_menu_id"
     61                 android:title="@*android:string/find_on_page"/>
     62             <item
     63                 android:id="@+id/ua_desktop_menu_id"
     64                 android:checkable="true"
     65                 android:title="@string/ua_switcher_desktop" />
     66         </group>
     67         <group
     68             android:id="@+id/SNAPSHOT_MENU">
     69             <item
     70                 android:id="@+id/snapshot_go_live"
     71                 android:title="@string/snapshot_go_live" />
     72         </group>
     73         <group
     74             android:id="@+id/COMBO_MENU">
     75             <item
     76                 android:id="@+id/close_other_tabs_id"
     77                 android:title="@string/close_other_tabs" />
     78             <item
     79                 android:id="@+id/history_menu_id"
     80                 android:title="@string/tab_history"
     81                 android:alphabeticShortcut="h" />
     82             <item
     83                 android:id="@+id/snapshots_menu_id"
     84                 android:title="@string/tab_snapshots" />
     85         </group>
     86         <item
     87             android:id="@+id/page_info_menu_id"
     88             android:title="@string/page_info" />
     89         <item
     90             android:id="@+id/preferences_menu_id"
     91             android:title="@string/menu_preferences"
     92             android:icon="@drawable/ic_settings_holo_dark"
     93             android:alphabeticShortcut="p" />
     94         <!-- followings are debug only -->
     95         <item
     96             android:id="@+id/dump_nav_menu_id"
     97             android:title="@string/dump_nav"
     98             android:visible="false" />
     99     </group>
    100     <group android:id="@+id/MAIN_SHORTCUT_MENU" android:visible="false">
    101         <item android:id="@+id/view_downloads_menu_id"
    102             android:alphabeticShortcut="j" />
    103         <item android:id="@+id/homepage_menu_id"
    104             android:alphabeticShortcut="&#32;" />
    105         <item android:id="@+id/zoom_in_menu_id"
    106             android:alphabeticShortcut="i" />
    107         <item android:id="@+id/zoom_out_menu_id"
    108             android:alphabeticShortcut="o" />
    109         <item android:id="@+id/window_one_menu_id"
    110             android:alphabeticShortcut="1" />
    111         <item android:id="@+id/window_two_menu_id"
    112             android:alphabeticShortcut="2" />
    113         <item android:id="@+id/window_three_menu_id"
    114             android:alphabeticShortcut="3" />
    115         <item android:id="@+id/window_four_menu_id"
    116             android:alphabeticShortcut="4" />
    117         <item android:id="@+id/window_five_menu_id"
    118             android:alphabeticShortcut="5" />
    119         <item android:id="@+id/window_six_menu_id"
    120             android:alphabeticShortcut="6" />
    121         <item android:id="@+id/window_seven_menu_id"
    122             android:alphabeticShortcut="7" />
    123         <item android:id="@+id/window_eight_menu_id"
    124             android:alphabeticShortcut="8" />
    125         <item android:id="@+id/back_menu_id" />
    126         <item android:id="@+id/goto_menu_id"
    127             android:alphabeticShortcut="l" />
    128         <item android:id="@+id/close_menu_id"
    129             android:alphabeticShortcut="w" />
    130         <item android:id="@+id/find_menu_id"
    131             android:alphabeticShortcut="f" />
    132         <item android:id="@+id/page_info_menu_id"
    133             android:alphabeticShortcut="g" />
    134         <item android:id="@+id/bookmarks_menu_id"
    135             android:alphabeticShortcut="b" />
    136     </group>
    137     <!-- these items are toggled in and out of @+id/stop_reload_menu_id -->
    138     <item android:id="@+id/stop_menu_id"
    139         android:title="@string/stop"
    140         android:icon="@*android:drawable/ic_menu_stop"
    141         android:visible="false" />
    142     <item android:id="@+id/reload_menu_id"
    143         android:title="@string/reload"
    144         android:icon="@*android:drawable/ic_menu_refresh"
    145         android:visible="false" />
    146 </menu>
    147  
    148