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 |
| 21 | android:id="@+id/NAV_MENU"> |
| 22 | <item |
| 23 | android:id="@+id/new_tab_menu_id" |
| 24 | android:title="@string/new_tab" |
| 25 | android:icon="@drawable/ic_menu_new_window" |
| 26 | android:alphabeticShortcut="n" /> |
| 27 | <item |
| 28 | android:id="@+id/bookmarks_menu_id" |
| 29 | android:title="@string/bookmarks" |
| 30 | android:alphabeticShortcut="b" |
| 31 | android:icon="@drawable/ic_bookmarks_holo_dark" /> |
| 32 | <item |
| 33 | android:id="@+id/active_tabs_menu_id" |
| 34 | android:title="@string/active_tabs" |
| 35 | android:icon="@drawable/ic_windows_holo_dark" |
| 36 | android:alphabeticShortcut="t" /> |
| 37 | <item |
| 38 | android:id="@+id/stop_reload_menu_id" |
| 39 | android:alphabeticShortcut="r" /> |
| 40 | <item |
| 41 | android:id="@+id/forward_menu_id" |
| 42 | android:title="@string/forward" |
| 43 | android:icon="@*android:drawable/ic_menu_forward" /> |
| 44 | </group> |
| 45 | <item |
Michael Kolb | 2814a36 | 2011-05-19 15:49:41 -0700 | [diff] [blame^] | 46 | android:id="@+id/incognito_menu_id" |
| 47 | android:title="@string/incognito_tab" |
| 48 | android:icon="@drawable/ic_new_incognito_holo_dark" /> |
| 49 | <item |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 50 | android:id="@+id/add_bookmark_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 51 | android:title="@string/save_to_bookmarks" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 52 | android:icon="@drawable/ic_bookmark_on_holo_dark" |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 53 | android:alphabeticShortcut="d" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 54 | <item |
| 55 | android:id="@+id/find_menu_id" |
Leon Scroggins | 4fc12cb | 2010-08-24 14:24:05 -0400 | [diff] [blame] | 56 | android:title="@*android:string/find_on_page" |
Michael Kolb | 3470086 | 2010-09-15 15:06:08 -0700 | [diff] [blame] | 57 | android:icon="@*android:drawable/ic_menu_find" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 58 | android:alphabeticShortcut="f" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 59 | <item |
| 60 | android:id="@+id/share_page_menu_id" |
Nicolas Roard | 91adfef | 2009-09-16 13:08:23 +0100 | [diff] [blame] | 61 | android:title="@string/share_page" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 62 | android:icon="@drawable/ic_share_holo_dark" |
Nicolas Roard | 91adfef | 2009-09-16 13:08:23 +0100 | [diff] [blame] | 63 | android:alphabeticShortcut="s" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 64 | <item |
| 65 | android:id="@+id/save_webarchive_menu_id" |
John Reck | 51d8bad | 2011-02-28 15:47:47 -0800 | [diff] [blame] | 66 | android:title="@string/menu_save_webarchive" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 67 | <item |
| 68 | android:id="@+id/page_info_menu_id" |
Michael Kolb | e0a3666 | 2010-06-29 10:37:12 -0700 | [diff] [blame] | 69 | android:title="@string/page_info" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 70 | android:icon="@drawable/ic_pageinfo_holo_dark" |
Michael Kolb | e0a3666 | 2010-06-29 10:37:12 -0700 | [diff] [blame] | 71 | android:alphabeticShortcut="g" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 72 | <item |
| 73 | android:id="@+id/view_downloads_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 74 | android:title="@string/menu_view_download" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 75 | android:icon="@drawable/ic_downloads_holo_dark" |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 76 | android:alphabeticShortcut="j" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 77 | <item |
| 78 | android:id="@+id/preferences_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 79 | android:title="@string/menu_preferences" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 80 | android:icon="@drawable/ic_settings_holo_dark" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 81 | android:alphabeticShortcut="p" /> |
| 82 | <!-- followings are debug only --> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 83 | <item |
| 84 | android:id="@+id/dump_nav_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 85 | android:title="@string/dump_nav" |
| 86 | android:visible="false" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 87 | <item |
| 88 | android:id="@+id/dump_counters_menu_id" |
Andrei Popescu | 7a8b88b | 2010-02-02 00:30:38 +0000 | [diff] [blame] | 89 | android:title="@string/dump_counters" |
| 90 | android:visible="false" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 91 | </group> |
| 92 | <group android:id="@+id/MAIN_SHORTCUT_MENU" android:visible="false"> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 93 | <item android:id="@+id/homepage_menu_id" |
| 94 | android:alphabeticShortcut=" " /> |
| 95 | <item android:id="@+id/classic_history_menu_id" |
| 96 | android:alphabeticShortcut="h" /> |
| 97 | <item android:id="@+id/zoom_in_menu_id" |
| 98 | android:alphabeticShortcut="i" /> |
| 99 | <item android:id="@+id/zoom_out_menu_id" |
| 100 | android:alphabeticShortcut="o" /> |
| 101 | <item android:id="@+id/window_one_menu_id" |
| 102 | android:alphabeticShortcut="1" /> |
| 103 | <item android:id="@+id/window_two_menu_id" |
| 104 | android:alphabeticShortcut="2" /> |
| 105 | <item android:id="@+id/window_three_menu_id" |
| 106 | android:alphabeticShortcut="3" /> |
| 107 | <item android:id="@+id/window_four_menu_id" |
| 108 | android:alphabeticShortcut="4" /> |
| 109 | <item android:id="@+id/window_five_menu_id" |
| 110 | android:alphabeticShortcut="5" /> |
| 111 | <item android:id="@+id/window_six_menu_id" |
| 112 | android:alphabeticShortcut="6" /> |
| 113 | <item android:id="@+id/window_seven_menu_id" |
| 114 | android:alphabeticShortcut="7" /> |
| 115 | <item android:id="@+id/window_eight_menu_id" |
| 116 | android:alphabeticShortcut="8" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 117 | <item android:id="@+id/back_menu_id" /> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 118 | <item android:id="@+id/goto_menu_id" |
Michael Kolb | e0a3666 | 2010-06-29 10:37:12 -0700 | [diff] [blame] | 119 | android:alphabeticShortcut="l" /> |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 120 | <item android:id="@+id/close_menu_id" |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 121 | android:alphabeticShortcut="w" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 122 | </group> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 123 | <!-- these items are toggled in and out of @+id/stop_reload_menu_id --> |
| 124 | <item android:id="@+id/stop_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 125 | android:title="@string/stop" |
Michael Kolb | 3470086 | 2010-09-15 15:06:08 -0700 | [diff] [blame] | 126 | android:icon="@*android:drawable/ic_menu_stop" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 127 | android:visible="false" /> |
| 128 | <item android:id="@+id/reload_menu_id" |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 129 | android:title="@string/reload" |
Michael Kolb | 3470086 | 2010-09-15 15:06:08 -0700 | [diff] [blame] | 130 | android:icon="@*android:drawable/ic_menu_refresh" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 131 | android:visible="false" /> |
| 132 | </menu> |
| 133 | |