Fix icon name

This commit is contained in:
Dima-1 2020-01-16 17:24:53 +02:00
parent 20320ddc07
commit d494954088
4 changed files with 4 additions and 4 deletions

View file

@ -129,7 +129,7 @@ public class ApplicationMode {
public static final ApplicationMode SKI = createBase(R.string.app_mode_skiing, "ski")
.speed(1.38f, 15).arrivalDistance(60).offRouteDistance(50)
.locationIcon(LocationIcon.BICYCLE).navigationIcon(NavigationIcon.CAR)
.icon(R.drawable.ic_action_skiing, R.drawable.ic_action_skiing, "ic_action_skiing")
.icon(R.drawable.ic_action_skiing, R.drawable.map_action_skiing, "ic_action_skiing")
.setRoutingProfile("ski").description(R.string.base_profile_descr_ski).reg();
private static class ApplicationModeBean {

View file

@ -85,7 +85,7 @@ public class TrackBitmapDrawer {
defPointColor = ContextCompat.getColor(app, R.color.gpx_color_point);
paintIcon = new Paint();
pointSmall = BitmapFactory.decodeResource(app.getResources(), R.drawable.map_white_shield_small);
selectedPoint = BitmapFactory.decodeResource(app.getResources(), R.drawable.ic_action_location_color);
selectedPoint = BitmapFactory.decodeResource(app.getResources(), R.drawable.map_default_location_xml);
}
public void addListener(TrackBitmapDrawerListener l) {

View file

@ -176,7 +176,7 @@ public class GPXLayer extends OsmandMapLayer implements ContextMenuLayer.IContex
paintIcon = new Paint();
pointSmall = BitmapFactory.decodeResource(view.getResources(), R.drawable.map_white_shield_small);
selectedPoint = BitmapFactory.decodeResource(view.getResources(), R.drawable.ic_action_location_color);
selectedPoint = BitmapFactory.decodeResource(view.getResources(), R.drawable.map_default_location_xml);
contextMenuLayer = view.getLayerByClass(ContextMenuLayer.class);

View file

@ -134,7 +134,7 @@ public class RouteLayer extends OsmandMapLayer implements ContextMenuLayer.ICont
wayContext = new GeometryWayContext(view.getContext(), density);
paintIconSelected = new Paint();
selectedPoint = BitmapFactory.decodeResource(view.getResources(), R.drawable.ic_action_location_color);
selectedPoint = BitmapFactory.decodeResource(view.getResources(), R.drawable.map_default_location_xml);
paintGridCircle = new Paint();
paintGridCircle.setStyle(Paint.Style.FILL_AND_STROKE);