From 777c1e2bfb728994a4e228ce1debd0f33268c6f4 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Fri, 23 Oct 2015 12:58:26 +0300 Subject: [PATCH] Fix Share icons, Parking context menu in progress --- .../res/drawable-hdpi/ic_action_ruler (2).png | Bin 1157 -> 0 bytes .../res/layout/map_context_menu_fragment.xml | 13 ++ .../src/net/osmand/data/PointDescription.java | 5 + .../plus/mapcontextmenu/MapContextMenu.java | 27 ++- .../MapContextMenuFragment.java | 18 +- .../plus/mapcontextmenu/MenuBuilder.java | 161 ++++++++++++++++++ .../{details => }/MenuController.java | 19 ++- .../details/AmenityMenuBuilder.java | 7 +- .../details/AmenityMenuController.java | 1 + .../details/FavouritePointMenuBuilder.java | 71 +------- .../details/FavouritePointMenuController.java | 1 + .../details/HistoryMenuBuilder.java | 72 +------- .../details/HistoryMenuController.java | 1 + .../mapcontextmenu/details/MenuBuilder.java | 92 ---------- .../details/ParkingPositionBuilder.java | 26 +++ .../details/ParkingPositionController.java | 81 +++++++++ .../details/PointDescriptionMenuBuilder.java | 72 +------- .../PointDescriptionMenuController.java | 1 + .../plus/mapcontextmenu/other/ShareMenu.java | 6 +- .../parkingpoint/ParkingPositionLayer.java | 2 +- 20 files changed, 351 insertions(+), 325 deletions(-) delete mode 100644 OsmAnd/res/drawable-hdpi/ic_action_ruler (2).png create mode 100644 OsmAnd/src/net/osmand/plus/mapcontextmenu/MenuBuilder.java rename OsmAnd/src/net/osmand/plus/mapcontextmenu/{details => }/MenuController.java (89%) delete mode 100644 OsmAnd/src/net/osmand/plus/mapcontextmenu/details/MenuBuilder.java create mode 100644 OsmAnd/src/net/osmand/plus/mapcontextmenu/details/ParkingPositionBuilder.java create mode 100644 OsmAnd/src/net/osmand/plus/mapcontextmenu/details/ParkingPositionController.java diff --git a/OsmAnd/res/drawable-hdpi/ic_action_ruler (2).png b/OsmAnd/res/drawable-hdpi/ic_action_ruler (2).png deleted file mode 100644 index 947cbef786d79cb2a4191d4956e1c035ad6c9abf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1157 zcmaJ>%WD)#81JBnW>-`Y!DV5Kb`P%D&*{fhlip-zdXfw}F-!)MJt$Up*Cf4@?rOU$ z&LpQr#AVUT9&|i-Q1B8#5d=L5ig@zz4=4z_BI>f@i}kdJt)9$855b1+s`~2tec$hU z^&gWHW19!R8{{}{b7kDAvGvF7-ME2$pK)i;vSlYN&(JB-pe>YOuHX|FgGz{IaSbDX z@yIzWmL}@nQqzMzKm0QoYFo@eh$#Z?a6U?{w#|3#T5O+*B_4EDXw&9bNX=9y zL5U<7=%OKbvZ4VKii&QS(A*1Dc9!J4q{@N}Ej?$+D(F2t^OpDxtLBXMe6f?w&rup% zlGJLo#8yru$*iP62qjsSR8?RaLb@1H)E1(2SKoqzQ!fc(8juKN7LiL9sLeB`DQ_AoNwizzWtqSHlh0@7q}m z4+}-z)C#7VFPe%{){B~6glZvQD32CQ-GqH?B}yrZJlyvkFyB3_@l~u=#C zu4$%#aw--O@;q5)GF8j*J-q)#{#N>wNmv|lpN{1kDpI_>F8DBq1VzCtrBGLe22vFt z8VH-n!&te*@p1 z(A_PQ(i7$Flcigq2Akh(xjWUVfB4})PwX_1}?O%jFwa{vJC$@TxWP@udCU8?J3Qf8^4sgK7Bw zm*;A6_W9HAUko{yF8*~t-TE?JKKFaPJg^>c1LJRY9Ohm>*mv|q@zCz<$51IxI9G~? GkNpo=X?foO diff --git a/OsmAnd/res/layout/map_context_menu_fragment.xml b/OsmAnd/res/layout/map_context_menu_fragment.xml index e779c35267..71690890ba 100644 --- a/OsmAnd/res/layout/map_context_menu_fragment.xml +++ b/OsmAnd/res/layout/map_context_menu_fragment.xml @@ -81,6 +81,19 @@ android:textColor="?android:textColorSecondary" android:textSize="@dimen/default_desc_text_size"/> +