fix altitude icons
This commit is contained in:
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 |
BIN
OsmAnd/res/drawable-large/info_altitude.png
Normal file
BIN
OsmAnd/res/drawable-large/info_altitude.png
Normal file
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 |
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue