Fixed Underlay Map layout.

This commit is contained in:
GaidamakUA 2016-04-08 15:09:18 +03:00
parent 214c690b71
commit 2bc8ef25a3

View file

@ -147,6 +147,7 @@ public class RasterMapMenu {
if (type == OsmandRasterMapsPlugin.RasterMapType.UNDERLAY) { if (type == OsmandRasterMapsPlugin.RasterMapType.UNDERLAY) {
contextMenuAdapter.addItem(new ContextMenuItem.ItemBuilder() contextMenuAdapter.addItem(new ContextMenuItem.ItemBuilder()
.setTitleId(R.string.show_polygons, mapActivity) .setTitleId(R.string.show_polygons, mapActivity)
.hideDivider(true)
.setListener(l) .setListener(l)
.setSelected(hidePolygonsPref.get()).createItem()); .setSelected(hidePolygonsPref.get()).createItem());
} }