diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java index 6e820a0622..5edc09f0fa 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/builders/AmenityMenuBuilder.java @@ -11,7 +11,6 @@ import android.support.annotation.NonNull; import android.support.v4.content.ContextCompat; import android.support.v7.app.AlertDialog; import android.support.v7.view.ContextThemeWrapper; -import android.text.Html; import android.text.TextUtils; import android.text.util.Linkify; import android.view.Gravity; @@ -35,13 +34,13 @@ import net.osmand.plus.Version; import net.osmand.plus.activities.MapActivity; import net.osmand.plus.helpers.FontCache; import net.osmand.plus.mapcontextmenu.MenuBuilder; -import net.osmand.plus.wikipedia.WikiArticleHelper; -import net.osmand.plus.wikipedia.WikipediaArticleWikiLinkFragment; -import net.osmand.plus.wikipedia.WikipediaDialogFragment; import net.osmand.plus.osmedit.OsmEditingPlugin; import net.osmand.plus.poi.PoiUIFilter; import net.osmand.plus.views.POIMapLayer; import net.osmand.plus.widgets.TextViewEx; +import net.osmand.plus.wikipedia.WikiArticleHelper; +import net.osmand.plus.wikipedia.WikipediaArticleWikiLinkFragment; +import net.osmand.plus.wikipedia.WikipediaDialogFragment; import net.osmand.util.Algorithms; import net.osmand.util.OpeningHoursParser; @@ -474,6 +473,8 @@ public class AmenityMenuBuilder extends MenuBuilder { iconId = R.drawable.ic_action_poi_name; } else if (key.equals("operator") || key.equals("brand")) { iconId = R.drawable.ic_action_poi_brand; + } else if (key.equals("internet_access_fee_yes")) { + iconId = R.drawable.ic_action_internet_access_fee; } else { iconId = R.drawable.ic_action_info_dark; } @@ -610,7 +611,7 @@ public class AmenityMenuBuilder extends MenuBuilder { if (processNearstWiki() && nearestWiki.size() > 0) { AmenityInfoRow wikiInfo = new AmenityInfoRow( - "nearest_wiki", R.drawable.ic_action_wikipedia, null, app.getString(R.string.wiki_around) + " (" + nearestWiki.size() + ")", true, + "nearest_wiki", R.drawable.ic_plugin_wikipedia, null, app.getString(R.string.wiki_around) + " (" + nearestWiki.size() + ")", true, getCollapsableWikiView(view.getContext(), true), 0, false, false, false, 1000, null, false, false, false, 0); buildAmenityRow(view, wikiInfo);