aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfuzz <fuzzzzzzzzzzzzzzzzzz@gmail.com>2014-10-19 20:45:32 +0900
committerfuzz <fuzzzzzzzzzzzzzzzzzz@gmail.com>2014-10-19 20:45:32 +0900
commit911f921fb02d9812a47dd8a20afe759d9945a6b6 (patch)
tree9b530d28474b384ecdf5d602a516d06e947c10f2
parentbf8c4d27415ff132c3d88ef5fc75d6ec3c50a27a (diff)
overlay: Contacts: Hide multi-delete option from menu
Unfortunately, this option doesn't work well on otter families. Change-Id: Ib752f9e93b2e76efd7148cdd7d786e3c91ad9065
-rw-r--r--overlay/cm/packages/apps/Contacts/res/menu-sw600dp/people_options.xml84
1 files changed, 84 insertions, 0 deletions
diff --git a/overlay/cm/packages/apps/Contacts/res/menu-sw600dp/people_options.xml b/overlay/cm/packages/apps/Contacts/res/menu-sw600dp/people_options.xml
new file mode 100644
index 0000000..8c0d0b1
--- /dev/null
+++ b/overlay/cm/packages/apps/Contacts/res/menu-sw600dp/people_options.xml
@@ -0,0 +1,84 @@
+<?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="@drawable/ic_search_dk"
+ android:title="@string/menu_search"
+ android:showAsAction="ifRoom" />
+
+ <item
+ android:id="@+id/menu_add_contact"
+ android:icon="@drawable/ic_add_person_dk"
+ android:title="@string/menu_new_contact_action_bar"
+ android:showAsAction="ifRoom" />
+
+ <item
+ android:id="@+id/menu_switch_group"
+ android:icon="@drawable/ic_add_group_holo_dark"
+ android:showAsAction="ifRoom" />
+
+ <item
+ android:id="@+id/menu_add_group"
+ android:icon="@drawable/ic_add_person_dk"
+ android:title="@string/menu_new_group_action_bar"
+ android:showAsAction="ifRoom" />
+
+ <!-- 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:orderInCategory="1"
+ android:title="@string/menu_contacts_filter" />
+
+ <item
+ android:id="@+id/menu_import_export"
+ android:orderInCategory="2"
+ android:title="@string/menu_import_export" />
+
+ <item
+ android:id="@+id/menu_clear_frequents"
+ android:orderInCategory="3"
+ android:title="@string/menu_clear_frequents" />
+
+ <item
+ android:id="@+id/menu_accounts"
+ android:orderInCategory="4"
+ android:title="@string/menu_accounts" />
+
+ <item
+ android:id="@+id/menu_settings"
+ android:orderInCategory="5"
+ android:title="@string/menu_settings" />
+
+ <item
+ android:id="@+id/menu_memory_status"
+ android:title="@string/menu_memory_status" />
+
+ <item
+ android:id="@+id/menu_help"
+ android:orderInCategory="6"
+ android:title="@string/menu_help" />
+
+ <item
+ android:id="@+id/export_database"
+ android:title="@string/menu_export_database"
+ android:visible="false"
+ android:showAsAction="never" />
+</menu>