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" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 47 | <item |
John Reck | eac25cd | 2011-08-11 16:03:32 -0700 | [diff] [blame] | 48 | android:id="@+id/bookmarks_menu_id" |
| 49 | android:title="@string/bookmarks" |
| 50 | android:icon="@drawable/ic_bookmarks_history_holo_dark" |
| 51 | android:alphabeticShortcut="b" |
| 52 | android:visible="@bool/menu_show_bookmarks" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 53 | <item |
| 54 | android:id="@+id/share_page_menu_id" |
Nicolas Roard | 91adfef | 2009-09-16 13:08:23 +0100 | [diff] [blame] | 55 | android:title="@string/share_page" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 56 | android:icon="@drawable/ic_share_holo_dark" |
Nicolas Roard | 91adfef | 2009-09-16 13:08:23 +0100 | [diff] [blame] | 57 | android:alphabeticShortcut="s" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 58 | <item |
John Reck | 42229bc | 2011-08-19 13:26:43 -0700 | [diff] [blame^] | 59 | android:id="@+id/find_menu_id" |
| 60 | android:title="@*android:string/find_on_page"/> |
| 61 | <item |
| 62 | android:id="@+id/ua_desktop_menu_id" |
| 63 | android:checkable="true" |
| 64 | android:title="@string/ua_switcher_desktop" /> |
| 65 | <item |
| 66 | android:id="@+id/save_snapshot_menu_id" |
| 67 | android:title="@string/menu_save_snapshot" /> |
| 68 | <item |
| 69 | android:id="@+id/page_info_menu_id" |
| 70 | android:title="@string/page_info" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 71 | <item |
| 72 | android:id="@+id/preferences_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 73 | android:title="@string/menu_preferences" |
Michael Kolb | 5a72f18 | 2011-01-13 20:35:06 -0800 | [diff] [blame] | 74 | android:icon="@drawable/ic_settings_holo_dark" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 75 | android:alphabeticShortcut="p" /> |
| 76 | <!-- followings are debug only --> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 77 | <item |
| 78 | android:id="@+id/dump_nav_menu_id" |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 79 | android:title="@string/dump_nav" |
| 80 | android:visible="false" /> |
Michael Kolb | fdb7024 | 2011-03-24 09:41:11 -0700 | [diff] [blame] | 81 | <item |
| 82 | android:id="@+id/dump_counters_menu_id" |
Andrei Popescu | 7a8b88b | 2010-02-02 00:30:38 +0000 | [diff] [blame] | 83 | android:title="@string/dump_counters" |
| 84 | android:visible="false" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 85 | </group> |
| 86 | <group android:id="@+id/MAIN_SHORTCUT_MENU" android:visible="false"> |
John Reck | 42229bc | 2011-08-19 13:26:43 -0700 | [diff] [blame^] | 87 | <item android:id="@+id/view_downloads_menu_id" |
| 88 | android:alphabeticShortcut="j" /> |
The Android Open Source Project | 0c90888 | 2009-03-03 19:32:16 -0800 | [diff] [blame] | 89 | <item android:id="@+id/homepage_menu_id" |
| 90 | android:alphabeticShortcut=" " /> |
| 91 | <item android:id="@+id/classic_history_menu_id" |
| 92 | android:alphabeticShortcut="h" /> |
| 93 | <item android:id="@+id/zoom_in_menu_id" |
| 94 | android:alphabeticShortcut="i" /> |
| 95 | <item android:id="@+id/zoom_out_menu_id" |
| 96 | android:alphabeticShortcut="o" /> |
| 97 | <item android:id="@+id/window_one_menu_id" |
| 98 | android:alphabeticShortcut="1" /> |
| 99 | <item android:id="@+id/window_two_menu_id" |
| 100 | android:alphabeticShortcut="2" /> |
| 101 | <item android:id="@+id/window_three_menu_id" |
| 102 | android:alphabeticShortcut="3" /> |
| 103 | <item android:id="@+id/window_four_menu_id" |
| 104 | android:alphabeticShortcut="4" /> |
| 105 | <item android:id="@+id/window_five_menu_id" |
| 106 | android:alphabeticShortcut="5" /> |
| 107 | <item android:id="@+id/window_six_menu_id" |
| 108 | android:alphabeticShortcut="6" /> |
| 109 | <item android:id="@+id/window_seven_menu_id" |
| 110 | android:alphabeticShortcut="7" /> |
| 111 | <item android:id="@+id/window_eight_menu_id" |
| 112 | android:alphabeticShortcut="8" /> |
Michael Kolb | a418306 | 2011-01-16 10:43:21 -0800 | [diff] [blame] | 113 | <item android:id="@+id/back_menu_id" /> |
Leon Scroggins | a81a764 | 2009-08-31 17:05:41 -0400 | [diff] [blame] | 114 | <item android:id="@+id/goto_menu_id" |
Michael Kolb | e0a3666 | 2010-06-29 10:37:12 -0700 | [diff] [blame] | 115 | android:alphabeticShortcut="l" /> |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 116 | <item android:id="@+id/close_menu_id" |
Leon Scroggins | 0a64ba5 | 2009-09-08 15:35:33 -0400 | [diff] [blame] | 117 | android:alphabeticShortcut="w" /> |
John Reck | eac25cd | 2011-08-11 16:03:32 -0700 | [diff] [blame] | 118 | <item android:id="@+id/find_menu_id" |
| 119 | android:alphabeticShortcut="f" /> |
| 120 | <item android:id="@+id/page_info_menu_id" |
| 121 | android:alphabeticShortcut="g" /> |
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 | |