summaryrefslogtreecommitdiffstats
path: root/res/menu
diff options
context:
space:
mode:
authorDaisuke Miyakawa <dmiyakawa@google.com>2011-09-29 17:14:30 -0700
committerDaisuke Miyakawa <dmiyakawa@google.com>2011-10-07 19:09:55 -0700
commit9b9104874ec0680ac60cb0527d127fc1c34bdb7e (patch)
treec8637b848804c9f2157afe2216f4cde2bb1d2e45 /res/menu
parentaa833a38116211302ff8cb902879e3b3d1c477c1 (diff)
downloadpackages_apps_Contacts-9b9104874ec0680ac60cb0527d127fc1c34bdb7e.tar.gz
packages_apps_Contacts-9b9104874ec0680ac60cb0527d127fc1c34bdb7e.tar.bz2
packages_apps_Contacts-9b9104874ec0680ac60cb0527d127fc1c34bdb7e.zip
[Phone] New phone favorite tab.
This change introduces yet another fragment for a special "phone favorite + phone all" screen and uses it as Phone UI's "Favorite" tab instead of using ContactTileListFragment. The new fragment merges two adapters into one adapter called PhoneFavoriteMergedAdapter. To keep layout consistency between two adapters, the new adapter tweaks original Views on demand, especially paddings for those Views. Now that "favorite" screen contains "all phone" section, we should treat previous "all phone" screen (PhoneNumberPickerFragment) as "phone search" screen instead. To do that, this change also replaces "ALL CONTACTS" strings/icons with "search" magnifying glass icons. IME is now shown up upon the search button click again. Bug: 5359840 Change-Id: I04cb2433882d74f1e826c02991a5a54c3be993ab
Diffstat (limited to 'res/menu')
-rw-r--r--res/menu/dialtacts_options.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/res/menu/dialtacts_options.xml b/res/menu/dialtacts_options.xml
index f653242f8..54ca086d1 100644
--- a/res/menu/dialtacts_options.xml
+++ b/res/menu/dialtacts_options.xml
@@ -17,6 +17,7 @@
<item
android:id="@+id/search_on_action_bar"
android:title="@string/menu_all_contacts"
+ android:icon="@drawable/ic_dial_action_search"
android:showAsAction="ifRoom" />
<!-- This should come after the other menus in CallLog and Dialpad -->