Add new av icons

This commit is contained in:
Victor Shcherb 2013-01-25 00:39:48 +01:00
parent ce6313d1af
commit ee8ce177f1
7 changed files with 6 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -121,11 +121,11 @@ public class AudioNotesLayer extends OsmandMapLayer implements IContextMenuProvi
}; };
if(r.isPhoto()) { if(r.isPhoto()) {
adapter.registerItem(R.string.recording_context_menu_show, R.drawable.list_context_menu_play, listener, -1); adapter.registerItem(R.string.recording_context_menu_show, R.drawable.list_activities_play_note, listener, -1);
} else { } else {
adapter.registerItem(R.string.recording_context_menu_play, R.drawable.list_context_menu_play, listener, -1); adapter.registerItem(R.string.recording_context_menu_play, R.drawable.list_activities_play_note, listener, -1);
} }
adapter.registerItem(R.string.recording_context_menu_delete, R.drawable.list_context_menu_delete, listener, -1); adapter.registerItem(R.string.recording_context_menu_delete, R.drawable.list_activities_remove_note, listener, -1);
} }
} }

View file

@ -369,21 +369,21 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
@Override @Override
public void registerMapContextMenuActions(final MapActivity mapActivity, final double latitude, final double longitude, ContextMenuAdapter adapter, public void registerMapContextMenuActions(final MapActivity mapActivity, final double latitude, final double longitude, ContextMenuAdapter adapter,
Object selectedObj) { Object selectedObj) {
adapter.registerItem(R.string.recording_context_menu_arecord, R.drawable.list_context_menu_arecord, new OnContextMenuClick() { adapter.registerItem(R.string.recording_context_menu_arecord, R.drawable.list_activities_audio_note, new OnContextMenuClick() {
@Override @Override
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
recordAudio(latitude, longitude, mapActivity); recordAudio(latitude, longitude, mapActivity);
} }
}, 6); }, 6);
adapter.registerItem(R.string.recording_context_menu_vrecord, R.drawable.list_context_menu_vrecord, new OnContextMenuClick() { adapter.registerItem(R.string.recording_context_menu_vrecord, R.drawable.list_activities_video_note, new OnContextMenuClick() {
@Override @Override
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
recordVideo(latitude, longitude, mapActivity); recordVideo(latitude, longitude, mapActivity);
} }
}, 7); }, 7);
adapter.registerItem(R.string.recording_context_menu_precord, R.drawable.list_context_menu_precord, new OnContextMenuClick() { adapter.registerItem(R.string.recording_context_menu_precord, R.drawable.list_activities_photo, new OnContextMenuClick() {
@Override @Override
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) { public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {