fix wrong search label

This commit is contained in:
sonora 2014-06-26 23:42:24 +02:00
parent c164d708b0
commit 2f69f5e930
3 changed files with 3 additions and 3 deletions

View file

@ -135,7 +135,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
@Override @Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.export_fav, R.drawable.ic_action_search_light, MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.search_poi_filter, R.drawable.ic_action_search_light,
R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS
| MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW); | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW);
searchView = new com.actionbarsherlock.widget.SearchView(getActivity()); searchView = new com.actionbarsherlock.widget.SearchView(getActivity());

View file

@ -303,7 +303,7 @@ public class FavouritesTreeFragment extends OsmandExpandableListFragment {
@Override @Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.export_fav, R.drawable.ic_action_search_light, MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.search_poi_filter, R.drawable.ic_action_search_light,
R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS
| MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW); | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW);
searchView = new com.actionbarsherlock.widget.SearchView(getActivity()); searchView = new com.actionbarsherlock.widget.SearchView(getActivity());

View file

@ -192,7 +192,7 @@ public class SelectedGPXFragment extends OsmandExpandableListFragment {
@Override @Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
// MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.export_fav, R.drawable.ic_action_search_light, // MenuItem mi = createMenuItem(menu, SEARCH_ID, R.string.search_poi_filter, R.drawable.ic_action_search_light,
// R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS // R.drawable.ic_action_search_dark, MenuItem.SHOW_AS_ACTION_ALWAYS
// | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW); // | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW);
// searchView = new com.actionbarsherlock.widget.SearchView(getActivity()); // searchView = new com.actionbarsherlock.widget.SearchView(getActivity());