nicer recording icons in context menu

This commit is contained in:
sonora 2013-01-19 13:27:25 +01:00
parent 4ba8b433c1
commit 910d0ab888
5 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -348,14 +348,14 @@ 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_rec, new OnContextMenuClick() { adapter.registerItem(R.string.recording_context_menu_arecord, R.drawable.list_context_menu_arecord, 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_rec, new OnContextMenuClick() { adapter.registerItem(R.string.recording_context_menu_vrecord, R.drawable.list_context_menu_vrecord, 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) {