Update and add new transport icons to be the same as on the map, edit icons in Configure Map
BIN
OsmAnd/res/drawable-hdpi/ic_action_transport_bus.png
Normal file
After Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 681 B |
BIN
OsmAnd/res/drawable-hdpi/ic_action_transport_train_station.png
Normal file
After Width: | Height: | Size: 492 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 460 B |
BIN
OsmAnd/res/drawable-hdpi/ic_action_transport_trolleybus.png
Normal file
After Width: | Height: | Size: 464 B |
BIN
OsmAnd/res/drawable-mdpi/ic_action_transport_bus.png
Normal file
After Width: | Height: | Size: 269 B |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 445 B |
BIN
OsmAnd/res/drawable-mdpi/ic_action_transport_train_station.png
Normal file
After Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 328 B |
BIN
OsmAnd/res/drawable-mdpi/ic_action_transport_trolleybus.png
Normal file
After Width: | Height: | Size: 300 B |
BIN
OsmAnd/res/drawable-xhdpi/ic_action_transport_bus.png
Normal file
After Width: | Height: | Size: 539 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 879 B |
BIN
OsmAnd/res/drawable-xhdpi/ic_action_transport_train_station.png
Normal file
After Width: | Height: | Size: 668 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 597 B |
BIN
OsmAnd/res/drawable-xhdpi/ic_action_transport_trolleybus.png
Normal file
After Width: | Height: | Size: 580 B |
BIN
OsmAnd/res/drawable-xxhdpi/ic_action_transport_bus.png
Normal file
After Width: | Height: | Size: 786 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.2 KiB |
BIN
OsmAnd/res/drawable-xxhdpi/ic_action_transport_train_station.png
Normal file
After Width: | Height: | Size: 943 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 861 B |
BIN
OsmAnd/res/drawable-xxhdpi/ic_action_transport_trolleybus.png
Normal file
After Width: | Height: | Size: 848 B |
BIN
OsmAnd/res/drawable-xxxhdpi/ic_action_transport_bus.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-xxxhdpi/ic_action_transport_subway.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.2 KiB |
BIN
OsmAnd/res/drawable-xxxhdpi/ic_action_transport_tram.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-xxxhdpi/ic_action_transport_trolleybus.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
|
@ -365,7 +365,7 @@ public class ConfigureMapMenu {
|
|||
adapter.addItem(new ContextMenuItem.ItemBuilder()
|
||||
.setId(TRANSPORT_ID)
|
||||
.setTitleId(R.string.rendering_category_transport, activity)
|
||||
.setIcon(R.drawable.ic_action_bus_dark)
|
||||
.setIcon(R.drawable.ic_action_transport_bus)
|
||||
.setSecondaryIcon(R.drawable.ic_action_additional_option)
|
||||
.setSelected(transportSelected)
|
||||
.setColor(transportSelected ? selectedProfileColorRes : ContextMenuItem.INVALID_ID)
|
||||
|
@ -428,13 +428,13 @@ public class ConfigureMapMenu {
|
|||
if ("transportStops".equals(p.getAttrName())) {
|
||||
iconIds[i] = R.drawable.ic_action_transport_stop;
|
||||
} else if ("publicTransportMode".equals(p.getAttrName())) {
|
||||
iconIds[i] = R.drawable.ic_action_bus_dark;
|
||||
iconIds[i] = R.drawable.ic_action_transport_bus;
|
||||
} else if ("tramTrainRoutes".equals(p.getAttrName())) {
|
||||
iconIds[i] = R.drawable.ic_action_transport_tram;
|
||||
} else if ("subwayMode".equals(p.getAttrName())) {
|
||||
iconIds[i] = R.drawable.ic_action_transport_subway;
|
||||
} else {
|
||||
iconIds[i] = R.drawable.ic_action_bus_dark;
|
||||
iconIds[i] = R.drawable.ic_action_transport_bus;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -835,7 +835,7 @@ public class ConfigureMapMenu {
|
|||
}
|
||||
}).createItem());
|
||||
|
||||
props = createProperties(customRules, null, R.string.rendering_category_transport, R.drawable.ic_action_bus_dark,
|
||||
props = createProperties(customRules, null, R.string.rendering_category_transport, R.drawable.ic_action_transport_bus,
|
||||
"transport", null, adapter, activity, true, TRANSPORT_RENDERING_ID, themeRes, nightMode, selectedProfileColor);
|
||||
if (props != null) {
|
||||
adapter.addItem(props);
|
||||
|
|