diff options
Diffstat (limited to 'res/menu')
-rw-r--r-- | res/menu/dialtacts_options.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/res/menu/dialtacts_options.xml b/res/menu/dialtacts_options.xml index 21161b181..3158598f7 100644 --- a/res/menu/dialtacts_options.xml +++ b/res/menu/dialtacts_options.xml @@ -37,4 +37,16 @@ android:icon="@drawable/ic_add_contact_holo_dark" android:title="@string/menu_newContact" android:showAsAction="ifRoom" /> + + <!-- Ugly hack: empty item never clickable. + This is for forcing search icon on left even when there's a single item + in the bottom ActionBar. + We intentionally don't use android:icon to avoid other issues around item with + a null icon. + + TODO: look for better idea. --> + <item + android:id="@+id/fake_menu_item" + android:actionLayout="@layout/empty2" + android:showAsAction="ifRoom" /> </menu> |