add description for map legend

This commit is contained in:
sonora 2015-11-08 01:14:57 +01:00
parent 4de026b56a
commit 482ee08bd1
2 changed files with 2 additions and 1 deletions

View file

@ -2056,4 +2056,5 @@ Afghanistan, Albania, Algeria, Andorra, Angola, Anguilla, Antigua and Barbuda, A
<string name="feedback">Feedback</string>
<string name="contact_us">Contact us</string>
<string name="map_legend">Map legend</string>
<string name="map_legend_item_description">Legend for OsmAnd default map style, Internet connectivity needed to display</string>
</resources>

View file

@ -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;
}