Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 1 | <?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 Sharkey | 5629ec5 | 2013-09-04 18:03:18 -0700 | [diff] [blame^] | 21 | android:icon="@drawable/ic_menu_new_folder" |
Jeff Sharkey | 46165b5 | 2013-07-31 20:53:22 -0700 | [diff] [blame] | 22 | android:showAsAction="ifRoom" /> |
| 23 | <item |
| 24 | android:id="@+id/menu_search" |
| 25 | android:title="@string/menu_search" |
Jeff Sharkey | 5629ec5 | 2013-09-04 18:03:18 -0700 | [diff] [blame^] | 26 | android:icon="@drawable/ic_menu_search_holo_light" |
Jeff Sharkey | 46165b5 | 2013-07-31 20:53:22 -0700 | [diff] [blame] | 27 | android:showAsAction="always|collapseActionView" |
| 28 | android:actionViewClass="android.widget.SearchView" |
| 29 | android:imeOptions="actionSearch" /> |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 30 | <item |
Jeff Sharkey | 4c5fe52 | 2013-09-03 14:17:06 -0700 | [diff] [blame] | 31 | android:id="@+id/menu_sort" |
| 32 | android:title="@string/menu_sort" |
Jeff Sharkey | 5629ec5 | 2013-09-04 18:03:18 -0700 | [diff] [blame^] | 33 | android:icon="@drawable/ic_menu_sortby_holo_light" |
Jeff Sharkey | 4c5fe52 | 2013-09-03 14:17:06 -0700 | [diff] [blame] | 34 | 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 Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 48 | android:id="@+id/menu_grid" |
| 49 | android:title="@string/menu_grid" |
Jeff Sharkey | 5629ec5 | 2013-09-04 18:03:18 -0700 | [diff] [blame^] | 50 | android:icon="@drawable/ic_menu_view_grid" |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 51 | android:showAsAction="ifRoom" /> |
| 52 | <item |
| 53 | android:id="@+id/menu_list" |
| 54 | android:title="@string/menu_list" |
Jeff Sharkey | 5629ec5 | 2013-09-04 18:03:18 -0700 | [diff] [blame^] | 55 | android:icon="@drawable/ic_menu_view_list" |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 56 | android:showAsAction="ifRoom" /> |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 57 | <item |
| 58 | android:id="@+id/menu_settings" |
| 59 | android:title="@string/menu_settings" |
Jeff Sharkey | 5629ec5 | 2013-09-04 18:03:18 -0700 | [diff] [blame^] | 60 | android:icon="@drawable/ic_perm_group_system_tools" |
Jeff Sharkey | c6cbdf1 | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 61 | android:showAsAction="never" /> |
Jeff Sharkey | 09c10bf | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 62 | </menu> |