blob: d9953768ac9e4b6caa66745cb16c5e18171f0c35 [file] [log] [blame]
Jeff Sharkey54e55b72013-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
19 android:id="@+id/menu_create_dir"
20 android:title="@string/menu_create_dir"
Jeff Sharkey0b14db32013-09-04 18:03:18 -070021 android:icon="@drawable/ic_menu_new_folder"
Jeff Sharkeyf6db1542013-09-13 13:42:19 -070022 android:showAsAction="always" />
Jeff Sharkeybc2971d2013-07-31 20:53:22 -070023 <item
24 android:id="@+id/menu_search"
25 android:title="@string/menu_search"
Jeff Sharkey6d97d3c2013-09-06 10:43:45 -070026 android:icon="@drawable/ic_menu_search"
Jeff Sharkeybc2971d2013-07-31 20:53:22 -070027 android:showAsAction="always|collapseActionView"
28 android:actionViewClass="android.widget.SearchView"
29 android:imeOptions="actionSearch" />
Jeff Sharkeyb156f4b2013-08-06 16:26:14 -070030 <item
Jeff Sharkeyded77182013-09-03 14:17:06 -070031 android:id="@+id/menu_sort"
32 android:title="@string/menu_sort"
Jeff Sharkey6d97d3c2013-09-06 10:43:45 -070033 android:icon="@drawable/ic_menu_sortby"
Jeff Sharkeyded77182013-09-03 14:17:06 -070034 android:showAsAction="always">
35 <menu>
36 <item
37 android:id="@+id/menu_sort_name"
38 android:title="@string/sort_name" />
39 <item
40 android:id="@+id/menu_sort_date"
41 android:title="@string/sort_date" />
42 <item
43 android:id="@+id/menu_sort_size"
44 android:title="@string/sort_size" />
45 </menu>
46 </item>
47 <item
Jeff Sharkeyb156f4b2013-08-06 16:26:14 -070048 android:id="@+id/menu_grid"
49 android:title="@string/menu_grid"
Jeff Sharkey0b14db32013-09-04 18:03:18 -070050 android:icon="@drawable/ic_menu_view_grid"
Jeff Sharkeyf6db1542013-09-13 13:42:19 -070051 android:showAsAction="never" />
Jeff Sharkeyb156f4b2013-08-06 16:26:14 -070052 <item
53 android:id="@+id/menu_list"
54 android:title="@string/menu_list"
Jeff Sharkey0b14db32013-09-04 18:03:18 -070055 android:icon="@drawable/ic_menu_view_list"
Jeff Sharkeyf6db1542013-09-13 13:42:19 -070056 android:showAsAction="never" />
Jeff Sharkey9fb567b2013-08-07 16:22:02 -070057 <item
58 android:id="@+id/menu_settings"
59 android:title="@string/menu_settings"
Jeff Sharkey6d97d3c2013-09-06 10:43:45 -070060 android:icon="@drawable/ic_menu_settings"
Jeff Sharkey9fb567b2013-08-07 16:22:02 -070061 android:showAsAction="never" />
Jeff Sharkey54e55b72013-06-30 20:02:59 -070062</menu>