diff options
author | Maurice Chu <mochu@google.com> | 2012-05-01 13:58:59 -0700 |
---|---|---|
committer | Maurice Chu <mochu@google.com> | 2012-05-01 13:58:59 -0700 |
commit | 747cfd0a947ae1ab5fe23445d65f17555e43981e (patch) | |
tree | 1f938d68e009783ff17767891e9227e542e09418 /res/menu | |
parent | e6c9fc8e80d456885ab0df2c1dc8c8732617da2a (diff) | |
download | packages_apps_Contacts-747cfd0a947ae1ab5fe23445d65f17555e43981e.tar.gz packages_apps_Contacts-747cfd0a947ae1ab5fe23445d65f17555e43981e.tar.bz2 packages_apps_Contacts-747cfd0a947ae1ab5fe23445d65f17555e43981e.zip |
Hide scrollbar in search mode when no contacts in Phone
This hides the scrollbar when there are no contacts in search mode.
Some refactoring has been done to make it easier to tell what menus
are made visible for each of the Phone tabs and when in search mode.
Intents and onClick listeners have been moved to the
onCreateOptionsMenu since these do not change. Also, corrected the
test for isEmpty() in PhoneFavoriteMergedAdapter which allows the
message "No contacts" to show up when there are no contacts to list
under the Phone favorites tab.
Bug: 6036160
Change-Id: I43bbd1bd56b009736cc2a966a3ffb0ad6630792c
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/dialtacts_options.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/menu/dialtacts_options.xml b/res/menu/dialtacts_options.xml index 3158598f7..8eaa91552 100644 --- a/res/menu/dialtacts_options.xml +++ b/res/menu/dialtacts_options.xml @@ -46,7 +46,7 @@ TODO: look for better idea. --> <item - android:id="@+id/fake_menu_item" + android:id="@+id/empty_right_menu_item" android:actionLayout="@layout/empty2" android:showAsAction="ifRoom" /> </menu> |