The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 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"> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 18 | <group |
| 19 | android:id="@+id/MAIN_MENU"> |
| 20 | <group |
John Reck | e3da7d6 | 2011-08-10 13:40:23 -0700 | [diff] [blame] | 21 | android:id="@+id/NAV_MENU" |
| 22 | android:visible="@bool/menu_show_navigation"> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 23 | <item |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 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 |
Michael Kolb | 7bdee0b | 2011-08-01 11:55:38 -0700 | [diff] [blame] | 32 | android:id="@+id/new_tab_menu_id" |
John Reck | e3da7d6 | 2011-08-10 13:40:23 -0700 | [diff] [blame] | 33 | android:title="@string/new_tab" |
| 34 | android:icon="@drawable/ic_new_window_holo_dark" |
| 35 | android:showAsAction="never" |
| 36 | android:alphabeticShortcut="n" /> |
Michael Kolb | 7bdee0b | 2011-08-01 11:55:38 -0700 | [diff] [blame] | 37 | <item |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame] | 38 | android:id="@+id/incognito_menu_id" |
John Reck | e3da7d6 | 2011-08-10 13:40:23 -0700 | [diff] [blame] | 39 | android:title="@string/new_incognito_tab" |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame] | 40 | android:icon="@drawable/ic_new_incognito_holo_dark" /> |
| 41 | <item |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 42 | android:id="@+id/add_bookmark_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 43 | android:title="@string/save_to_bookmarks" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 44 | android:icon="@drawable/ic_bookmark_on_holo_dark" |
John Reck | e3da7d6 | 2011-08-10 13:40:23 -0700 | [diff] [blame] | 45 | android:alphabeticShortcut="d" |
| 46 | android:visible="@bool/menu_show_bookmarks" /> |
John Reck | e1a03a3 | 2011-09-14 17:04:16 -0700 | [diff] [blame] | 47 | <group |
| 48 | android:id="@+id/LIVE_MENU"> |
| 49 | <item |
| 50 | android:id="@+id/share_page_menu_id" |
| 51 | android:title="@string/share_page" |
| 52 | android:icon="@drawable/ic_share_holo_dark" |
| 53 | android:alphabeticShortcut="s" /> |
| 54 | <item |
| 55 | android:id="@+id/find_menu_id" |
| 56 | android:title="@*android:string/find_on_page"/> |
| 57 | <item |
| 58 | android:id="@+id/ua_desktop_menu_id" |
| 59 | android:checkable="true" |
| 60 | android:title="@string/ua_switcher_desktop" /> |
| 61 | <item |
| 62 | android:id="@+id/save_snapshot_menu_id" |
| 63 | android:title="@string/menu_save_snapshot" /> |
| 64 | </group> |
| 65 | <group |
| 66 | android:id="@+id/SNAPSHOT_MENU"> |
| 67 | <item |
| 68 | android:id="@+id/snapshot_go_live" |
| 69 | android:title="@string/snapshot_go_live" /> |
| 70 | </group> |
Michael Kolb | 315d502 | 2011-10-13 12:47:11 -0700 | [diff] [blame] | 71 | <group |
| 72 | android:id="@+id/COMBO_MENU"> |
| 73 | <item |
| 74 | android:id="@+id/history_menu_id" |
| 75 | android:title="@string/tab_history" |
| 76 | android:alphabeticShortcut="h" /> |
| 77 | <item |
| 78 | android:id="@+id/snapshots_menu_id" |
| 79 | android:title="@string/tab_snapshots" /> |
| 80 | </group> |
John Reck | 42229bc | 2011-08-19 13:26:43 -0700 | [diff] [blame] | 81 | <item |
| 82 | android:id="@+id/page_info_menu_id" |
| 83 | android:title="@string/page_info" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 84 | <item |
| 85 | android:id="@+id/preferences_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 86 | android:title="@string/menu_preferences" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 87 | android:icon="@drawable/ic_settings_holo_dark" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 88 | android:alphabeticShortcut="p" /> |
| 89 | <!-- followings are debug only --> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 90 | <item |
| 91 | android:id="@+id/dump_nav_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 92 | android:title="@string/dump_nav" |
| 93 | android:visible="false" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 94 | <item |
| 95 | android:id="@+id/dump_counters_menu_id" |
Andrei Popescu | 7a8b88b | 2010-02-02 00:30:38 +0000 | [diff] [blame] | 96 | android:title="@string/dump_counters" |
| 97 | android:visible="false" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 98 | </group> |
| 99 | <group android:id="@+id/MAIN_SHORTCUT_MENU" android:visible="false"> |
John Reck | 42229bc | 2011-08-19 13:26:43 -0700 | [diff] [blame] | 100 | <item android:id="@+id/view_downloads_menu_id" |
| 101 | android:alphabeticShortcut="j" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 102 | <item android:id="@+id/homepage_menu_id" |
| 103 | android:alphabeticShortcut=" " /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 104 | <item android:id="@+id/zoom_in_menu_id" |
| 105 | android:alphabeticShortcut="i" /> |
| 106 | <item android:id="@+id/zoom_out_menu_id" |
| 107 | android:alphabeticShortcut="o" /> |
| 108 | <item android:id="@+id/window_one_menu_id" |
| 109 | android:alphabeticShortcut="1" /> |
| 110 | <item android:id="@+id/window_two_menu_id" |
| 111 | android:alphabeticShortcut="2" /> |
| 112 | <item android:id="@+id/window_three_menu_id" |
| 113 | android:alphabeticShortcut="3" /> |
| 114 | <item android:id="@+id/window_four_menu_id" |
| 115 | android:alphabeticShortcut="4" /> |
| 116 | <item android:id="@+id/window_five_menu_id" |
| 117 | android:alphabeticShortcut="5" /> |
| 118 | <item android:id="@+id/window_six_menu_id" |
| 119 | android:alphabeticShortcut="6" /> |
| 120 | <item android:id="@+id/window_seven_menu_id" |
| 121 | android:alphabeticShortcut="7" /> |
| 122 | <item android:id="@+id/window_eight_menu_id" |
| 123 | android:alphabeticShortcut="8" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 124 | <item android:id="@+id/back_menu_id" /> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 125 | <item android:id="@+id/goto_menu_id" |
Michael Kolb | e0a3666 | 2010-06-29 10:37:12 -0700 | [diff] [blame] | 126 | android:alphabeticShortcut="l" /> |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 127 | <item android:id="@+id/close_menu_id" |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 128 | android:alphabeticShortcut="w" /> |
John Reck | eac25cd | 2011-08-11 16:03:32 -0700 | [diff] [blame] | 129 | <item android:id="@+id/find_menu_id" |
| 130 | android:alphabeticShortcut="f" /> |
| 131 | <item android:id="@+id/page_info_menu_id" |
| 132 | android:alphabeticShortcut="g" /> |
Michael Kolb | 315d502 | 2011-10-13 12:47:11 -0700 | [diff] [blame] | 133 | <item android:id="@+id/bookmarks_menu_id" |
| 134 | android:alphabeticShortcut="b" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 135 | </group> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 136 | <!-- these items are toggled in and out of @+id/stop_reload_menu_id --> |
| 137 | <item android:id="@+id/stop_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 138 | android:title="@string/stop" |
Michael Kolb | 3470086 | 2010-09-15 15:06:08 -0700 | [diff] [blame] | 139 | android:icon="@*android:drawable/ic_menu_stop" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 140 | android:visible="false" /> |
| 141 | <item android:id="@+id/reload_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 142 | android:title="@string/reload" |
Michael Kolb | 3470086 | 2010-09-15 15:06:08 -0700 | [diff] [blame] | 143 | android:icon="@*android:drawable/ic_menu_refresh" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 144 | android:visible="false" /> |
| 145 | </menu> |
| 146 | |