Merge pull request #307 from saindofora/patch-5

Update OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.ja...
This commit is contained in:
vshcherb 2012-09-08 14:52:18 -07:00
commit 34bcb72f50

View file

@ -524,6 +524,7 @@ public class SearchPOIActivity extends OsmandListActivity implements SensorEvent
int z = Math.max(16, settings.getLastKnownMapZoom()); int z = Math.max(16, settings.getLastKnownMapZoom());
MapActivityActions.createDirectionsActions(qa, amenity.getLocation(), amenity, name, z, this, true , null); MapActivityActions.createDirectionsActions(qa, amenity.getLocation(), amenity, name, z, this, true , null);
ActionItem poiDescription = new ActionItem(); ActionItem poiDescription = new ActionItem();
poiDescription.setIcon(getResources().getDrawable(R.drawable.list_activities_show_poi_description));
poiDescription.setTitle(getString(R.string.poi_context_menu_showdescription)); poiDescription.setTitle(getString(R.string.poi_context_menu_showdescription));
poiDescription.setOnClickListener(new OnClickListener() { poiDescription.setOnClickListener(new OnClickListener() {