fix altitude icons

This commit is contained in:
sonora 2012-08-31 18:54:23 +02:00
parent 3cf8385765
commit 662031223d
6 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -241,7 +241,7 @@ public class MapInfoLayer extends OsmandMapLayer {
TextInfoControl speed = ric.createSpeedControl(map, paintText, paintSubText); TextInfoControl speed = ric.createSpeedControl(map, paintText, paintSubText);
mapInfoControls.registerSideWidget(speed, R.drawable.info_speed, R.string.map_widget_speed, "speed", false, all, none, 15); mapInfoControls.registerSideWidget(speed, R.drawable.info_speed, R.string.map_widget_speed, "speed", false, all, none, 15);
TextInfoControl alt = ric.createAltitudeControl(map, paintText, paintSubText); TextInfoControl alt = ric.createAltitudeControl(map, paintText, paintSubText);
mapInfoControls.registerSideWidget(alt, R.drawable.ic_altitude, R.string.map_widget_altitude, "altitude", false, EnumSet.of(ApplicationMode.PEDESTRIAN), none, 20); mapInfoControls.registerSideWidget(alt, R.drawable.info_altitude, R.string.map_widget_altitude, "altitude", false, EnumSet.of(ApplicationMode.PEDESTRIAN), none, 20);
// Top widgets // Top widgets
ImageViewControl compassView = createCompassView(map); ImageViewControl compassView = createCompassView(map);

View file

@ -296,7 +296,7 @@ public class RouteInfoControls {
} }
}; };
altitudeControl.setText(null, null); altitudeControl.setText(null, null);
altitudeControl.setImageDrawable(map.getResources().getDrawable(R.drawable.ic_altitude)); altitudeControl.setImageDrawable(map.getResources().getDrawable(R.drawable.info_altitude));
return altitudeControl; return altitudeControl;
} }