diff --git a/OsmAnd/res/drawable-hdpi/list_activities_parking_position_menu.png b/OsmAnd/res/drawable-hdpi/list_activities_parking_position_menu.png deleted file mode 100644 index 9fa004f442..0000000000 Binary files a/OsmAnd/res/drawable-hdpi/list_activities_parking_position_menu.png and /dev/null differ diff --git a/OsmAnd/res/drawable-hdpi/list_activities_poi_parking.png b/OsmAnd/res/drawable-hdpi/list_activities_poi_parking.png index 64ca3fc66d..998ee576a7 100644 Binary files a/OsmAnd/res/drawable-hdpi/list_activities_poi_parking.png and b/OsmAnd/res/drawable-hdpi/list_activities_poi_parking.png differ diff --git a/OsmAnd/res/drawable-large/list_activities_parking_position_menu.png b/OsmAnd/res/drawable-large/list_activities_parking_position_menu.png deleted file mode 100644 index 9fa004f442..0000000000 Binary files a/OsmAnd/res/drawable-large/list_activities_parking_position_menu.png and /dev/null differ diff --git a/OsmAnd/res/drawable-large/list_activities_poi_parking.png b/OsmAnd/res/drawable-large/list_activities_poi_parking.png index 64ca3fc66d..998ee576a7 100644 Binary files a/OsmAnd/res/drawable-large/list_activities_poi_parking.png and b/OsmAnd/res/drawable-large/list_activities_poi_parking.png differ diff --git a/OsmAnd/res/drawable-mdpi/list_activities_parking_position_menu.png b/OsmAnd/res/drawable-mdpi/list_activities_parking_position_menu.png deleted file mode 100644 index 704b055830..0000000000 Binary files a/OsmAnd/res/drawable-mdpi/list_activities_parking_position_menu.png and /dev/null differ diff --git a/OsmAnd/res/drawable-mdpi/list_activities_poi_parking.png b/OsmAnd/res/drawable-mdpi/list_activities_poi_parking.png index 2869c97447..08b22a2043 100644 Binary files a/OsmAnd/res/drawable-mdpi/list_activities_poi_parking.png and b/OsmAnd/res/drawable-mdpi/list_activities_poi_parking.png differ diff --git a/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java b/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java index a7f2d5d495..2643bc6b4d 100644 --- a/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java +++ b/OsmAnd/src/net/osmand/plus/parkingpoint/ParkingPositionPlugin.java @@ -90,8 +90,8 @@ public class ParkingPositionPlugin extends OsmandPlugin { } else { if (parkingLayer == null) { registerLayers(activity); + mapView.addLayer(parkingLayer, 5); } - mapView.addLayer(parkingLayer, 5); } if(parkingPlaceControl == null){ registerWidget(activity); @@ -103,7 +103,7 @@ public class ParkingPositionPlugin extends OsmandPlugin { if (mapInfoLayer != null) { parkingPlaceControl = createParkingPlaceInfoControl(activity, mapInfoLayer.getPaintText(), mapInfoLayer.getPaintSubText()); mapInfoLayer.getMapInfoControls().registerSideWidget(parkingPlaceControl, - R.drawable.list_activities_parking_position_menu, R.string.map_widget_parking, "parking", false, + R.drawable.list_activities_poi_parking, R.string.map_widget_parking, "parking", false, EnumSet.allOf(ApplicationMode.class), EnumSet.noneOf(ApplicationMode.class), 8); mapInfoLayer.recreateControls(); } @@ -432,7 +432,7 @@ public class ParkingPositionPlugin extends OsmandPlugin { } }); parkingPlaceControl.setText(null, null); - parkingPlaceControl.setImageDrawable(map.getResources().getDrawable(R.drawable.list_activities_parking_position_menu)); + parkingPlaceControl.setImageDrawable(map.getResources().getDrawable(R.drawable.list_activities_poi_parking)); return parkingPlaceControl; } }