From de95a3e353d6d0575cb23b114d3205bf377d0b67 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 8 Jul 2020 17:28:47 +0300 Subject: [PATCH] Updated icon for motorcycle, added new icons for enduro motorcycle and motor scooter --- .../drawable/ic_action_enduro_motorcycle.xml | 10 +++++++++ .../res/drawable/ic_action_motor_scooter.xml | 21 +++++++++++++++++++ .../drawable/ic_action_motorcycle_dark.xml | 4 ++-- OsmAnd/res/values/strings.xml | 2 ++ .../osmand/plus/profiles/ProfileIcons.java | 2 ++ 5 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 OsmAnd/res/drawable/ic_action_enduro_motorcycle.xml create mode 100644 OsmAnd/res/drawable/ic_action_motor_scooter.xml diff --git a/OsmAnd/res/drawable/ic_action_enduro_motorcycle.xml b/OsmAnd/res/drawable/ic_action_enduro_motorcycle.xml new file mode 100644 index 0000000000..ce8f40ad06 --- /dev/null +++ b/OsmAnd/res/drawable/ic_action_enduro_motorcycle.xml @@ -0,0 +1,10 @@ + + + diff --git a/OsmAnd/res/drawable/ic_action_motor_scooter.xml b/OsmAnd/res/drawable/ic_action_motor_scooter.xml new file mode 100644 index 0000000000..a8a0cf4551 --- /dev/null +++ b/OsmAnd/res/drawable/ic_action_motor_scooter.xml @@ -0,0 +1,21 @@ + + + + + diff --git a/OsmAnd/res/drawable/ic_action_motorcycle_dark.xml b/OsmAnd/res/drawable/ic_action_motorcycle_dark.xml index 2bf23aff89..a89713cff8 100644 --- a/OsmAnd/res/drawable/ic_action_motorcycle_dark.xml +++ b/OsmAnd/res/drawable/ic_action_motorcycle_dark.xml @@ -4,7 +4,7 @@ android:viewportWidth="24" android:viewportHeight="24"> diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 64f9e464bd..35de06c09b 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -11,6 +11,8 @@ Thx - Hardy --> + Motor scooter + Enduro motorcycle Get information about points of interest from Wikipedia. It is your pocket offline guide - just enable Wikipedia plugin and enjoy articles about objects around you. Download Wikipedia maps The current destination point on the route will be deleted. If it will be the Destination, navigation will stop. diff --git a/OsmAnd/src/net/osmand/plus/profiles/ProfileIcons.java b/OsmAnd/src/net/osmand/plus/profiles/ProfileIcons.java index 9bc0bb2441..b7beb6d124 100644 --- a/OsmAnd/src/net/osmand/plus/profiles/ProfileIcons.java +++ b/OsmAnd/src/net/osmand/plus/profiles/ProfileIcons.java @@ -17,6 +17,8 @@ public enum ProfileIcons { BUS(R.drawable.ic_action_bus_dark, R.string.app_mode_bus, "ic_action_bus_dark"), SUBWAY(R.drawable.ic_action_subway, R.string.app_mode_subway, "ic_action_subway"), MOTORCYCLE(R.drawable.ic_action_motorcycle_dark, R.string.app_mode_motorcycle, "ic_action_motorcycle_dark"), + ENDURO_MOTORCYCLE(R.drawable.ic_action_enduro_motorcycle, R.string.app_mode_enduro_motorcycle, "ic_action_enduro_motorcycle"), + MOTOR_SCOOTER(R.drawable.ic_action_motor_scooter, R.string.app_mode_motor_scooter, "ic_action_motor_scooter"), BICYCLE(R.drawable.ic_action_bicycle_dark, R.string.app_mode_bicycle, "ic_action_bicycle_dark"), HORSE(R.drawable.ic_action_horse, R.string.app_mode_horse, "ic_action_horse"), PEDESTRIAN(R.drawable.ic_action_pedestrian_dark, R.string.app_mode_pedestrian, "ic_action_pedestrian_dark"),