blob: 673a254f63f56e9a66ce6e41631d32ef8cf0a964 [file] [log] [blame]
Jeff Sharkey09c10bf2013-06-30 20:02:59 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2013 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 <item
Jeff Sharkey46165b52013-07-31 20:53:22 -070019 android:id="@+id/menu_search"
20 android:title="@string/menu_search"
Jeff Sharkey06c41872013-09-06 10:43:45 -070021 android:icon="@drawable/ic_menu_search"
Jeff Sharkey46165b52013-07-31 20:53:22 -070022 android:showAsAction="always|collapseActionView"
23 android:actionViewClass="android.widget.SearchView"
24 android:imeOptions="actionSearch" />
Jeff Sharkey2e694f82013-08-06 16:26:14 -070025 <item
Steve McKay8e258c62015-05-06 14:27:57 -070026 android:id="@+id/menu_create_dir"
27 android:title="@string/menu_create_dir"
28 android:icon="@drawable/ic_menu_new_folder"
Steve McKayf2c8b0d2015-09-23 15:44:24 -070029 android:alphabeticShortcut="e"
Ben Kwa0574b182015-09-08 07:31:19 -070030 android:showAsAction="always"
31 android:visible="false" />
Steve McKay8e258c62015-05-06 14:27:57 -070032 <item
Jeff Sharkey4c5fe522013-09-03 14:17:06 -070033 android:id="@+id/menu_sort"
34 android:title="@string/menu_sort"
Jeff Sharkey06c41872013-09-06 10:43:45 -070035 android:icon="@drawable/ic_menu_sortby"
Jeff Sharkey4c5fe522013-09-03 14:17:06 -070036 android:showAsAction="always">
37 <menu>
38 <item
39 android:id="@+id/menu_sort_name"
40 android:title="@string/sort_name" />
41 <item
42 android:id="@+id/menu_sort_date"
43 android:title="@string/sort_date" />
44 <item
45 android:id="@+id/menu_sort_size"
46 android:title="@string/sort_size" />
47 </menu>
48 </item>
49 <item
Jeff Sharkey2e694f82013-08-06 16:26:14 -070050 android:id="@+id/menu_grid"
51 android:title="@string/menu_grid"
Jeff Sharkey5629ec52013-09-04 18:03:18 -070052 android:icon="@drawable/ic_menu_view_grid"
Jeff Sharkey9656a532013-09-13 13:42:19 -070053 android:showAsAction="never" />
Jeff Sharkey2e694f82013-08-06 16:26:14 -070054 <item
55 android:id="@+id/menu_list"
56 android:title="@string/menu_list"
Jeff Sharkey5629ec52013-09-04 18:03:18 -070057 android:icon="@drawable/ic_menu_view_list"
Jeff Sharkey9656a532013-09-13 13:42:19 -070058 android:showAsAction="never" />
Jeff Sharkeyc6cbdf12013-08-07 16:22:02 -070059 <item
Steve McKayf2c8b0d2015-09-23 15:44:24 -070060 android:id="@+id/menu_new_window"
61 android:title="@string/menu_new_window"
62 android:alphabeticShortcut="n"
63 android:showAsAction="never"
64 android:visible="false" />
65 <item
Steve McKay1f199482015-05-20 15:58:42 -070066 android:id="@+id/menu_paste_from_clipboard"
67 android:title="@string/menu_paste_from_clipboard"
68 android:alphabeticShortcut="v"
69 android:showAsAction="never"
70 android:visible="false" />
Steve McKayf2c8b0d2015-09-23 15:44:24 -070071 <!-- Copy action is defined in mode_directory.xml -->
Steve McKay1f199482015-05-20 15:58:42 -070072 <item
Jeff Sharkeye8d13ea2014-08-08 15:10:03 -070073 android:id="@+id/menu_advanced"
Ben Kwa0574b182015-09-08 07:31:19 -070074 android:showAsAction="never"
75 android:visible="false" />
Jeff Sharkeye8d13ea2014-08-08 15:10:03 -070076 <item
77 android:id="@+id/menu_file_size"
Ben Kwa0574b182015-09-08 07:31:19 -070078 android:showAsAction="never"
79 android:visible="false" />
Jeff Sharkey938528d2015-04-12 21:52:24 -070080 <item
81 android:id="@+id/menu_settings"
82 android:title="@string/menu_settings"
83 android:showAsAction="never" />
Jeff Sharkey09c10bf2013-06-30 20:02:59 -070084</menu>