summaryrefslogtreecommitdiffstats
path: root/res/menu
diff options
context:
space:
mode:
authorDaisuke Miyakawa <dmiyakawa@google.com>2011-10-12 12:27:16 -0700
committerDaisuke Miyakawa <dmiyakawa@google.com>2011-10-18 14:35:05 -0700
commita8729cdf778f9ca927b06afde685f7ac6b8c917f (patch)
treed1c02f1af7e17d729ba635e40eed6eb495e1899d /res/menu
parent0a65b8bbf7f00edb0cb0d17934f53bd4206b3ce7 (diff)
downloadpackages_apps_Contacts-a8729cdf778f9ca927b06afde685f7ac6b8c917f.tar.gz
packages_apps_Contacts-a8729cdf778f9ca927b06afde685f7ac6b8c917f.tar.bz2
packages_apps_Contacts-a8729cdf778f9ca927b06afde685f7ac6b8c917f.zip
Introduce ActionBar in picker screens
This change focuses on phone screens. Tablet UI fix will be done later. - show SearchView on the action bar - show "create new contact" as a menu on the split action bar - keep "create new contact" button for tablet support. - a few visual tweaks for phone Also this removes "show all contacts" item in JoinContactActivity. Now all contacts are shown by default. Bug: 5394377 Change-Id: I82e59b374888d522c81cd4957cb3fde286b419f6
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/contact_picker_options.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/res/menu/contact_picker_options.xml b/res/menu/contact_picker_options.xml
new file mode 100644
index 000000000..89196bacc
--- /dev/null
+++ b/res/menu/contact_picker_options.xml
@@ -0,0 +1,22 @@
+<?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.
+-->
+<!-- Used with DialtactsActivity's search mode. -->
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/create_new_contact"
+ android:title="@string/pickerNewContactText"
+ android:showAsAction="ifRoom" />
+</menu>