summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher R. Palmer <crpalmer@gmail.com>2014-10-12 05:22:14 -0400
committerChristopher R. Palmer <crpalmer@gmail.com>2014-10-12 06:25:57 -0400
commit62297f0f7ee69c045fbd1a84d968beadd9341c3f (patch)
tree399b997b5313ef73372ce3479a6d4383010603e9
parent6ca9f1aadc22547cb270fb43c3dd35f32fe3ace2 (diff)
downloadpackages_apps_Contacts-62297f0f7ee69c045fbd1a84d968beadd9341c3f.tar.gz
packages_apps_Contacts-62297f0f7ee69c045fbd1a84d968beadd9341c3f.tar.bz2
packages_apps_Contacts-62297f0f7ee69c045fbd1a84d968beadd9341c3f.zip
contacts: Add missing tablet menu items
This fixes a crash on tablets due to the missing copy_to_phone menus. Change-Id: I650bcb9ba3f40ffb5958ae49beaaa30216a3c6fa
-rw-r--r--res/menu-sw600dp/people_options.xml8
-rw-r--r--res/menu-sw600dp/view_contact.xml26
2 files changed, 33 insertions, 1 deletions
diff --git a/res/menu-sw600dp/people_options.xml b/res/menu-sw600dp/people_options.xml
index fcb2c0d3a..361499ae2 100644
--- a/res/menu-sw600dp/people_options.xml
+++ b/res/menu-sw600dp/people_options.xml
@@ -37,6 +37,10 @@
android:title="@string/menu_new_group_action_bar"
android:showAsAction="ifRoom" />
+ <item
+ android:id="@+id/menu_delete"
+ android:title="@string/menu_deleteContact" />
+
<!-- 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
@@ -68,6 +72,10 @@
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" />
diff --git a/res/menu-sw600dp/view_contact.xml b/res/menu-sw600dp/view_contact.xml
index 5437dec61..e8c8fe64b 100644
--- a/res/menu-sw600dp/view_contact.xml
+++ b/res/menu-sw600dp/view_contact.xml
@@ -32,7 +32,31 @@
android:title="@string/menu_deleteContact" />
<item
+ android:id="@+id/menu_set_ringtone"
+ android:title="@string/menu_set_ring_tone" />
+
+ <item
+ android:id="@+id/menu_copy_to_phone"
+ android:title="@string/menu_copyTo" />
+
+ <item
+ android:id="@+id/menu_copy_to_sim1"
+ android:title="@string/menu_copyTo" />
+
+ <item
+ android:id="@+id/menu_copy_to_sim2"
+ android:title="@string/menu_copyTo" />
+
+ <item
+ android:id="@+id/menu_send_via_sms"
+ android:title="@string/menu_sendViaSMS" />
+
+ <item
+ android:id="@+id/menu_send_to_voicemail"
+ android:checkable="true"
+ android:title="@string/menu_redirect_calls_to_vm" />
+
+ <item
android:id="@+id/menu_create_contact_shortcut"
android:title="@string/menu_create_contact_shortcut" />
-
</menu>