From aefcc69ed3101b6591d21866086fc35250722832 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 3 Jul 2013 00:06:33 +0200 Subject: [PATCH] Fix small glitches --- .../osmand/plus/activities/search/SearchAddressFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/search/SearchAddressFragment.java b/OsmAnd/src/net/osmand/plus/activities/search/SearchAddressFragment.java index 8c66578d95..52802e4e43 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/SearchAddressFragment.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/SearchAddressFragment.java @@ -78,8 +78,8 @@ public class SearchAddressFragment extends SherlockFragment { public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { boolean light = ((OsmandApplication) getApplication()).getSettings().isLightActionBar(); if(getActivity() instanceof SearchAddressActivity) { - com.actionbarsherlock.view.MenuItem menuItem = menu.add(0, SELECT_POINT, 0, R.string.get_directions).setShowAsActionFlags( - MenuItem.SHOW_AS_ACTION_ALWAYS | MenuItem.SHOW_AS_ACTION_WITH_TEXT); + com.actionbarsherlock.view.MenuItem menuItem = menu.add(0, SELECT_POINT, 0, "").setShowAsActionFlags( + MenuItem.SHOW_AS_ACTION_ALWAYS ); menuItem = menuItem.setIcon(light ? R.drawable.ic_action_ok_light : R.drawable.ic_action_ok_dark); menuItem.setOnMenuItemClickListener(new OnMenuItemClickListener() { @Override