diff --git a/OsmAnd/res/drawable-large/list_context_menu_delete.png b/OsmAnd/res/drawable-large/list_context_menu_delete.png new file mode 100644 index 0000000000..94a16a7667 Binary files /dev/null and b/OsmAnd/res/drawable-large/list_context_menu_delete.png differ diff --git a/OsmAnd/res/drawable-large/list_context_menu_play.png b/OsmAnd/res/drawable-large/list_context_menu_play.png new file mode 100644 index 0000000000..6cd8e7fe1a Binary files /dev/null and b/OsmAnd/res/drawable-large/list_context_menu_play.png differ diff --git a/OsmAnd/res/drawable-large/list_context_menu_precord.png b/OsmAnd/res/drawable-large/list_context_menu_precord.png new file mode 100644 index 0000000000..9672b1f90b Binary files /dev/null and b/OsmAnd/res/drawable-large/list_context_menu_precord.png differ diff --git a/OsmAnd/res/drawable-mdpi/list_context_menu_delete.png b/OsmAnd/res/drawable-mdpi/list_context_menu_delete.png new file mode 100644 index 0000000000..d0ae6e92a6 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/list_context_menu_delete.png differ diff --git a/OsmAnd/res/drawable-mdpi/list_context_menu_play.png b/OsmAnd/res/drawable-mdpi/list_context_menu_play.png new file mode 100644 index 0000000000..ff145b4ade Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/list_context_menu_play.png differ diff --git a/OsmAnd/res/drawable-mdpi/list_context_menu_precord.png b/OsmAnd/res/drawable-mdpi/list_context_menu_precord.png new file mode 100644 index 0000000000..d09bbb1666 Binary files /dev/null and b/OsmAnd/res/drawable-mdpi/list_context_menu_precord.png differ diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioNotesLayer.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioNotesLayer.java index 167266c045..2ea145b09a 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioNotesLayer.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioNotesLayer.java @@ -121,11 +121,11 @@ public class AudioNotesLayer extends OsmandMapLayer implements IContextMenuProvi }; if(r.isPhoto()) { - adapter.registerItem(R.string.recording_context_menu_show, 0, listener, -1); + adapter.registerItem(R.string.recording_context_menu_show, R.drawable.list_context_menu_play, listener, -1); } else { - adapter.registerItem(R.string.recording_context_menu_play, 0, listener, -1); + adapter.registerItem(R.string.recording_context_menu_play, R.drawable.list_context_menu_play, listener, -1); } - adapter.registerItem(R.string.recording_context_menu_delete, 0, listener, -1); + adapter.registerItem(R.string.recording_context_menu_delete, R.drawable.list_context_menu_delete, listener, -1); } } @@ -207,4 +207,4 @@ public class AudioNotesLayer extends OsmandMapLayer implements IContextMenuProvi } -} +} \ No newline at end of file diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index dc07cea75f..42f16588c9 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -348,21 +348,21 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { @Override public void registerMapContextMenuActions(final MapActivity mapActivity, final double latitude, final double longitude, ContextMenuAdapter adapter, Object selectedObj) { - adapter.registerItem(R.string.recording_context_menu_arecord, 0, new OnContextMenuClick() { + adapter.registerItem(R.string.recording_context_menu_arecord, R.drawable.monitoring_rec_big, new OnContextMenuClick() { @Override public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { recordAudio(latitude, longitude, mapActivity); } }, 6); - adapter.registerItem(R.string.recording_context_menu_vrecord, 0, new OnContextMenuClick() { + adapter.registerItem(R.string.recording_context_menu_vrecord, R.drawable.monitoring_rec_big, new OnContextMenuClick() { @Override public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { recordVideo(latitude, longitude, mapActivity); } }, 7); - adapter.registerItem(R.string.recording_context_menu_precord, 0, new OnContextMenuClick() { + adapter.registerItem(R.string.recording_context_menu_precord, R.drawable.list_context_menu_precord, new OnContextMenuClick() { @Override public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { @@ -802,11 +802,11 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { } }; if(ri.rec.isPhoto()) { - adapter.registerItem(R.string.recording_context_menu_show, 0, listener, 0); + adapter.registerItem(R.string.recording_context_menu_show, R.drawable.list_context_menu_play, listener, 0); } else { - adapter.registerItem(R.string.recording_context_menu_play, 0, listener, 0); + adapter.registerItem(R.string.recording_context_menu_play, R.drawable.list_context_menu_play, listener, 0); } - adapter.registerItem(R.string.show_location, 0, new OnContextMenuClick() { + adapter.registerItem(R.string.show_location, R.drawable.list_activities_show_on_map, new OnContextMenuClick() { @Override public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { app.getSettings().SHOW_RECORDINGS.set(true);