| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2011 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <menu xmlns:android="http://schemas.android.com/apk/res/android"> |
| <item |
| android:id="@+id/menu_search" |
| android:icon="@android:drawable/ic_menu_search" |
| android:title="@string/menu_search" |
| android:showAsAction="ifRoom" /> |
| |
| <item |
| android:id="@+id/menu_add_contact" |
| android:icon="@drawable/ic_menu_add_contact_holo_dark" |
| android:title="@string/menu_new_contact_action_bar" |
| android:showAsAction="withText" /> |
| |
| <item |
| android:id="@+id/menu_add_group" |
| android:icon="@drawable/ic_menu_add_group_holo_dark" |
| android:title="@string/menu_new_group_action_bar" |
| android:showAsAction="withText" /> |
| |
| <!-- Added orderInCategory to keep the following buttons at the end of the menu |
| Buttons will be added in the order added/inflated. Ordered buttons will be added |
| at the end according to the orderInCategory. This setup insures that the buttons below |
| will be the last buttons in the menu regardless of how many buttons are added |
| --> |
| <item |
| android:id="@+id/menu_contacts_filter" |
| android:icon="@drawable/ic_menu_settings_holo_light" |
| android:orderInCategory="1" |
| android:title="@string/menu_contacts_filter" /> |
| |
| <item |
| android:id="@+id/menu_settings" |
| android:icon="@drawable/ic_menu_settings_holo_light" |
| android:orderInCategory="2" |
| android:title="@string/menu_settings" /> |
| |
| <item |
| android:id="@+id/menu_import_export" |
| android:icon="@drawable/ic_menu_import_export_holo_light" |
| android:orderInCategory="3" |
| android:title="@string/menu_import_export" /> |
| |
| <item |
| android:id="@+id/menu_accounts" |
| android:icon="@drawable/ic_menu_accounts_holo_light" |
| android:orderInCategory="4" |
| android:title="@string/menu_accounts" /> |
| |
| </menu> |