| Jeff Sharkey | 54e55b7 | 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 | 0b14db3 | 2013-09-04 18:03:18 -0700 | [diff] [blame] | 21 | android:icon="@drawable/ic_menu_new_folder" |
| Jeff Sharkey | f6db154 | 2013-09-13 13:42:19 -0700 | [diff] [blame] | 22 | android:showAsAction="always" /> |
| Jeff Sharkey | bc2971d | 2013-07-31 20:53:22 -0700 | [diff] [blame] | 23 | <item |
| 24 | android:id="@+id/menu_search" |
| 25 | android:title="@string/menu_search" |
| Jeff Sharkey | 6d97d3c | 2013-09-06 10:43:45 -0700 | [diff] [blame] | 26 | android:icon="@drawable/ic_menu_search" |
| Jeff Sharkey | bc2971d | 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 | b156f4b | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 30 | <item |
| Jeff Sharkey | ded7718 | 2013-09-03 14:17:06 -0700 | [diff] [blame] | 31 | android:id="@+id/menu_sort" |
| 32 | android:title="@string/menu_sort" |
| Jeff Sharkey | 6d97d3c | 2013-09-06 10:43:45 -0700 | [diff] [blame] | 33 | android:icon="@drawable/ic_menu_sortby" |
| Jeff Sharkey | ded7718 | 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 | b156f4b | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 48 | android:id="@+id/menu_grid" |
| 49 | android:title="@string/menu_grid" |
| Jeff Sharkey | 0b14db3 | 2013-09-04 18:03:18 -0700 | [diff] [blame] | 50 | android:icon="@drawable/ic_menu_view_grid" |
| Jeff Sharkey | f6db154 | 2013-09-13 13:42:19 -0700 | [diff] [blame] | 51 | android:showAsAction="never" /> |
| Jeff Sharkey | b156f4b | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 52 | <item |
| 53 | android:id="@+id/menu_list" |
| 54 | android:title="@string/menu_list" |
| Jeff Sharkey | 0b14db3 | 2013-09-04 18:03:18 -0700 | [diff] [blame] | 55 | android:icon="@drawable/ic_menu_view_list" |
| Jeff Sharkey | f6db154 | 2013-09-13 13:42:19 -0700 | [diff] [blame] | 56 | android:showAsAction="never" /> |
| Jeff Sharkey | 9fb567b | 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 | 6d97d3c | 2013-09-06 10:43:45 -0700 | [diff] [blame] | 60 | android:icon="@drawable/ic_menu_settings" |
| Jeff Sharkey | 9fb567b | 2013-08-07 16:22:02 -0700 | [diff] [blame] | 61 | android:showAsAction="never" /> |
| Jeff Sharkey | 54e55b7 | 2013-06-30 20:02:59 -0700 | [diff] [blame] | 62 | </menu> |