Update OsmAnd/src/net/osmand/plus/activities/search/SearchPOIActivity.java

setIcon
This commit is contained in:
saindofora 2012-09-03 21:44:54 -03:00
parent 5fca28374d
commit d86a633e7d

View file

@ -524,6 +524,7 @@ public class SearchPOIActivity extends OsmandListActivity implements SensorEvent
int z = Math.max(16, settings.getLastKnownMapZoom());
MapActivityActions.createDirectionsActions(qa, amenity.getLocation(), amenity, name, z, this, true , null);
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.setOnClickListener(new OnClickListener() {