Update icons

This commit is contained in:
Victor Shcherb 2012-07-29 14:59:04 +02:00
parent cea00f3164
commit cb16896643
7 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View file

@ -90,8 +90,8 @@ public class ParkingPositionPlugin extends OsmandPlugin {
} else { } else {
if (parkingLayer == null) { if (parkingLayer == null) {
registerLayers(activity); registerLayers(activity);
mapView.addLayer(parkingLayer, 5);
} }
mapView.addLayer(parkingLayer, 5);
} }
if(parkingPlaceControl == null){ if(parkingPlaceControl == null){
registerWidget(activity); registerWidget(activity);
@ -103,7 +103,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
if (mapInfoLayer != null) { if (mapInfoLayer != null) {
parkingPlaceControl = createParkingPlaceInfoControl(activity, mapInfoLayer.getPaintText(), mapInfoLayer.getPaintSubText()); parkingPlaceControl = createParkingPlaceInfoControl(activity, mapInfoLayer.getPaintText(), mapInfoLayer.getPaintSubText());
mapInfoLayer.getMapInfoControls().registerSideWidget(parkingPlaceControl, 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); EnumSet.allOf(ApplicationMode.class), EnumSet.noneOf(ApplicationMode.class), 8);
mapInfoLayer.recreateControls(); mapInfoLayer.recreateControls();
} }
@ -432,7 +432,7 @@ public class ParkingPositionPlugin extends OsmandPlugin {
} }
}); });
parkingPlaceControl.setText(null, null); 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; return parkingPlaceControl;
} }
} }