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