From f5c5afd19660c882ceee74b02ac6e8294e8f1284 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 30 Nov 2020 15:03:07 +0200 Subject: [PATCH] Added profile icon light aircraft --- .../res/drawable/ic_action_light_aircraft.xml | 31 +++++++++++++++++++ OsmAnd/res/values/strings.xml | 1 + .../osmand/plus/profiles/ProfileIcons.java | 3 +- 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 OsmAnd/res/drawable/ic_action_light_aircraft.xml diff --git a/OsmAnd/res/drawable/ic_action_light_aircraft.xml b/OsmAnd/res/drawable/ic_action_light_aircraft.xml new file mode 100644 index 0000000000..9558141910 --- /dev/null +++ b/OsmAnd/res/drawable/ic_action_light_aircraft.xml @@ -0,0 +1,31 @@ + + + + + + + + + diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml index 18c24109e3..34a60ca216 100644 --- a/OsmAnd/res/values/strings.xml +++ b/OsmAnd/res/values/strings.xml @@ -11,6 +11,7 @@ Thx - Hardy --> + Light aircraft You can use Elevation data for consideration of Ascent / Descent for your trip %1$s * %2$s OsmAnd shows photos from several sources:\nOpenPlaceReviews - POI photos;\nMapillary - street-level imagery;\nWeb / Wikimedia - POI photos specified in OpenStreetMap data. diff --git a/OsmAnd/src/net/osmand/plus/profiles/ProfileIcons.java b/OsmAnd/src/net/osmand/plus/profiles/ProfileIcons.java index db7d18185c..3de707794d 100644 --- a/OsmAnd/src/net/osmand/plus/profiles/ProfileIcons.java +++ b/OsmAnd/src/net/osmand/plus/profiles/ProfileIcons.java @@ -45,7 +45,8 @@ public enum ProfileIcons { GO_CART(R.drawable.ic_action_go_cart, R.string.app_mode_go_cart, "ic_action_go_cart"), OSM(R.drawable.ic_action_openstreetmap_logo, R.string.app_mode_osm, "ic_action_openstreetmap_logo"), MOTORBOAT(R.drawable.ic_action_motorboat, R.string.app_mode_motorboat, "ic_action_motorboat"), - KAYAK(R.drawable.ic_action_kayak, R.string.app_mode_kayak, "ic_action_kayak"); + KAYAK(R.drawable.ic_action_kayak, R.string.app_mode_kayak, "ic_action_kayak"), + LIGHT_AIRCRAFT(R.drawable.ic_action_light_aircraft, R.string.app_mode_light_aircraft, "ic_action_light_aircraft"); @DrawableRes private int resId;