From d9f7ac5a50d90e4175322939ecad615dc4b0f634 Mon Sep 17 00:00:00 2001 From: GaidamakUA Date: Thu, 31 Mar 2016 17:41:09 +0300 Subject: [PATCH] New icons for widgets. --- .../net/osmand/plus/development/OsmandDevelopmentPlugin.java | 2 +- OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/development/OsmandDevelopmentPlugin.java b/OsmAnd/src/net/osmand/plus/development/OsmandDevelopmentPlugin.java index 75e7daaa1d..4618a4b18d 100644 --- a/OsmAnd/src/net/osmand/plus/development/OsmandDevelopmentPlugin.java +++ b/OsmAnd/src/net/osmand/plus/development/OsmandDevelopmentPlugin.java @@ -111,7 +111,7 @@ public class OsmandDevelopmentPlugin extends OsmandPlugin { final OsmandMapTileView mv = activity.getMapView(); if (mapInfoLayer != null && mapInfoLayer.getSideWidget(FPSTextInfoWidget.class) == null) { FPSTextInfoWidget fps = new FPSTextInfoWidget(mv, activity); - mapInfoLayer.registerSideWidget(fps, R.drawable.widget_no_icon, + mapInfoLayer.registerSideWidget(fps, R.drawable.ic_action_fps, R.string.map_widget_fps_info, "fps", false, 30); mapInfoLayer.recreateControls(); } diff --git a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java index 46ec36d133..053e4ca5bd 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java @@ -134,7 +134,7 @@ public class MapInfoLayer extends OsmandMapLayer { TextInfoWidget gpsInfo = mic.createGPSInfoControl(map); registerSideWidget(gpsInfo, R.drawable.ic_action_gps_info, R.string.map_widget_gps_info, "gps_info", false, 17); TextInfoWidget maxspeed = ric.createMaxSpeedControl(map); - registerSideWidget(maxspeed, R.drawable.ic_action_max_speed, R.string.map_widget_max_speed, "max_speed", false, 18); + registerSideWidget(maxspeed, R.drawable.ic_action_speed_limit, R.string.map_widget_max_speed, "max_speed", false, 18); TextInfoWidget alt = mic.createAltitudeControl(map); registerSideWidget(alt, R.drawable.ic_action_altitude, R.string.map_widget_altitude, "altitude", false, 20); TextInfoWidget plainTime = ric.createPlainTimeControl(map);