From 482ee08bd122435d158bd01a7da157044680f5f6 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 8 Nov 2015 01:14:57 +0100 Subject: [PATCH] add description for map legend --- OsmAnd/res/values/strings.xml | 1 + OsmAnd/src/net/osmand/plus/activities/HelpActivity.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 65625aa2b7..e7aa66383e 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -2056,4 +2056,5 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A Feedback Contact us Map legend + Legend for OsmAnd default map style, Internet connectivity needed to display diff --git a/OsmAnd/src/net/osmand/plus/activities/HelpActivity.java b/OsmAnd/src/net/osmand/plus/activities/HelpActivity.java index 041089a066..a33be023a7 100644 --- a/OsmAnd/src/net/osmand/plus/activities/HelpActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/HelpActivity.java @@ -148,7 +148,7 @@ public class HelpActivity extends OsmandActionBarActivity { .show(getFragmentManager(), null); } }; - arrayList.add(new HelpMenuItem(legendName, null, onClickListener)); + arrayList.add(new HelpMenuItem(legendName, getActivity().getString(R.string.map_legend_item_description), onClickListener)); return arrayList; }