From d65733803596d148a70fcdfb21d1cc9bb3588f29 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Wed, 12 Aug 2020 12:36:04 +0300 Subject: [PATCH] Added new icons for Developer plugin and builds menu item --- OsmAnd/res/drawable/ic_action_apk.xml | 21 ++++++++++++ OsmAnd/res/drawable/ic_action_laptop.xml | 32 +++++++++++++++++++ .../development/OsmandDevelopmentPlugin.java | 4 +-- 3 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 OsmAnd/res/drawable/ic_action_apk.xml create mode 100644 OsmAnd/res/drawable/ic_action_laptop.xml diff --git a/OsmAnd/res/drawable/ic_action_apk.xml b/OsmAnd/res/drawable/ic_action_apk.xml new file mode 100644 index 0000000000..21da34bd79 --- /dev/null +++ b/OsmAnd/res/drawable/ic_action_apk.xml @@ -0,0 +1,21 @@ + + + + + + diff --git a/OsmAnd/res/drawable/ic_action_laptop.xml b/OsmAnd/res/drawable/ic_action_laptop.xml new file mode 100644 index 0000000000..c11bf0f8eb --- /dev/null +++ b/OsmAnd/res/drawable/ic_action_laptop.xml @@ -0,0 +1,32 @@ + + + + + + + + + diff --git a/OsmAnd/src/net/osmand/plus/development/OsmandDevelopmentPlugin.java b/OsmAnd/src/net/osmand/plus/development/OsmandDevelopmentPlugin.java index cbd2fcba13..6786e78d70 100644 --- a/OsmAnd/src/net/osmand/plus/development/OsmandDevelopmentPlugin.java +++ b/OsmAnd/src/net/osmand/plus/development/OsmandDevelopmentPlugin.java @@ -62,7 +62,7 @@ public class OsmandDevelopmentPlugin extends OsmandPlugin { helper.addItem(new ContextMenuItem.ItemBuilder() .setId(DRAWER_BUILDS_ID) .setTitleId(R.string.version_settings, mapActivity) - .setIcon(R.drawable.ic_action_info_dark) + .setIcon(R.drawable.ic_action_apk) .setListener(new ContextMenuAdapter.ItemClickListener() { @Override public boolean onContextMenuClick(ArrayAdapter adapter, int itemId, int pos, boolean isChecked, int[] viewCoordinates) { @@ -133,7 +133,7 @@ public class OsmandDevelopmentPlugin extends OsmandPlugin { @Override public int getLogoResourceId() { - return R.drawable.ic_plugin_developer; + return R.drawable.ic_action_laptop; } @Override