New icons for widgets.
This commit is contained in:
parent
88cffc0740
commit
d9f7ac5a50
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue