This commit is contained in:
Nikhil Peter Raj 2014-03-08 02:04:50 +05:30
parent 0a0bdad5b5
commit dd80ddd6f9

View File

@ -354,6 +354,9 @@ public class KeyListPublicFragment extends Fragment implements SearchView.OnQuer
public void onCreateOptionsMenu(final Menu menu, final MenuInflater inflater) {
// Get the searchview
MenuItem searchItem = menu.findItem(R.id.menu_key_list_public_search);
MenuItem addContactItem = menu.findItem(R.id.menu_key_list_public_import);
addContactItem.setVisible(false);//Hide Add Contacts Icon
mSearchView = (SearchView) MenuItemCompat.getActionView(searchItem);
// Execute this when searching