Merge remote-tracking branch 'origin/master'
BIN
OsmAnd/res/drawable-hdpi/ic_action_truck_dark.png
Normal file
After Width: | Height: | Size: 859 B |
BIN
OsmAnd/res/drawable-hdpi/ic_action_truck_light.png
Normal file
After Width: | Height: | Size: 998 B |
BIN
OsmAnd/res/drawable-hdpi/ic_truck.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
OsmAnd/res/drawable-mdpi/ic_action_truck_dark.png
Normal file
After Width: | Height: | Size: 528 B |
BIN
OsmAnd/res/drawable-mdpi/ic_action_truck_light.png
Normal file
After Width: | Height: | Size: 649 B |
BIN
OsmAnd/res/drawable-mdpi/ic_truck.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
OsmAnd/res/drawable-xhdpi/ic_action_truck_dark.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-xhdpi/ic_action_truck_light.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
OsmAnd/res/drawable-xhdpi/ic_truck.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
|
@ -9,6 +9,7 @@
|
|||
3. All your modified/created strings are in the top of the file (to make easier find what\'s translated).
|
||||
PLEASE: Have a look at http://code.google.com/p/osmand/wiki/UIConsistency, it may really improve your and our work :-) Thx - Hardy
|
||||
-->
|
||||
<string name="app_mode_truck">Truck</string>
|
||||
<string name="guidance_preferences_descr">Navigation preferences</string>
|
||||
<string name="routing_preferences_descr">Routing preferences</string>
|
||||
<string name="speech_rate_descr">Specify speech rate for TTS</string>
|
||||
|
|
|
@ -45,6 +45,10 @@ public class ApplicationMode {
|
|||
carLocation().parent(CAR).
|
||||
icon(R.drawable.ic_motorcycle, R.drawable.ic_action_motorcycle_light, R.drawable.ic_action_motorcycle_dark).reg();
|
||||
|
||||
public static final ApplicationMode TRUCK = create(R.string.app_mode_truck, "truck").speed(15.3f, 40).
|
||||
carLocation().parent(CAR).
|
||||
icon(R.drawable.ic_truck, R.drawable.ic_action_truck_light, R.drawable.ic_action_truck_dark).reg();
|
||||
|
||||
static {
|
||||
ApplicationMode[] exceptPedestrian = new ApplicationMode[] { DEFAULT, CAR, BICYCLE, BOAT, AIRCRAFT };
|
||||
ApplicationMode[] exceptAirBoat = new ApplicationMode[] { DEFAULT, CAR, BICYCLE};
|
||||
|
|