|
| 1 | +<?xml version="1.0" encoding="utf-8"?> |
| 2 | +<!-- |
| 3 | + * Copyright (C) 2018 Peter Gregus for GravityBox Project (C3C076@xda) |
| 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 | +<menu xmlns:android="http://schemas.android.com/apk/res/android" |
| 17 | + xmlns:app="http://schemas.android.com/apk/res-auto" > |
| 18 | + |
| 19 | + <item android:id="@+id/search" |
| 20 | + android:title="@string/search" |
| 21 | + android:icon="@android:drawable/ic_menu_search" |
| 22 | + app:showAsAction="collapseActionView|ifRoom" |
| 23 | + app:actionViewClass="android.support.v7.widget.SearchView" |
| 24 | + android:visible="false" /> |
| 25 | + |
| 26 | + <item android:id="@+id/searchKeyword" |
| 27 | + android:title="" |
| 28 | + app:showAsAction="always" |
| 29 | + app:actionViewClass="android.widget.TextView" |
| 30 | + android:visible="false" /> |
| 31 | + |
| 32 | + <item android:id="@+id/searchReset" |
| 33 | + android:title="@string/search_reset" |
| 34 | + android:icon="@android:drawable/ic_menu_close_clear_cancel" |
| 35 | + app:showAsAction="ifRoom" |
| 36 | + android:visible="false" /> |
| 37 | + |
| 38 | + <item android:id="@+id/showAll" |
| 39 | + android:title="@string/qhrw_menu_show_all" /> |
| 40 | + |
| 41 | + <item android:id="@+id/showStarred" |
| 42 | + android:title="@string/qhrw_menu_show_starred" /> |
| 43 | + |
| 44 | + <item android:id="@+id/showWhitelisted" |
| 45 | + android:title="@string/qhrw_menu_show_whitelisted" /> |
| 46 | + |
| 47 | +</menu> |
0 commit comments