From 123f285458d12921d8e7b9e7cbf5a95b249a1d93 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Wed, 4 Nov 2015 15:07:00 +0300 Subject: [PATCH] Context menu fixes --- .../res/layout/map_context_menu_fragment.xml | 31 ++++++- OsmAnd/res/values/strings.xml | 1 + .../plus/mapcontextmenu/MapContextMenu.java | 20 ++++- .../MapContextMenuFragment.java | 83 +++++++++++++++---- .../plus/mapcontextmenu/MenuController.java | 17 +++- .../builders/AudioVideoNoteMenuBuilder.java | 49 ++--------- .../builders/EditPOIMenuBuilder.java | 18 ---- .../AudioVideoNoteMenuController.java | 52 +++++++++--- .../controllers/EditPOIMenuController.java | 38 ++++++++- .../controllers/MapDataMenuController.java | 26 +++++- .../ParkingPositionMenuController.java | 4 +- .../TargetPointMenuController.java | 4 +- .../plus/osmedit/EditPoiDialogFragment.java | 18 ---- 13 files changed, 237 insertions(+), 124 deletions(-) diff --git a/OsmAnd/res/layout/map_context_menu_fragment.xml b/OsmAnd/res/layout/map_context_menu_fragment.xml index 7c51abffe8..f8246c4867 100644 --- a/OsmAnd/res/layout/map_context_menu_fragment.xml +++ b/OsmAnd/res/layout/map_context_menu_fragment.xml @@ -85,10 +85,23 @@ +