Add new av icons
This commit is contained in:
parent
ce6313d1af
commit
ee8ce177f1
7 changed files with 6 additions and 6 deletions
BIN
OsmAnd/res/drawable-hdpi/list_activities_audio_note.png
Normal file
BIN
OsmAnd/res/drawable-hdpi/list_activities_audio_note.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_photo.png
Normal file
BIN
OsmAnd/res/drawable-hdpi/list_activities_photo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_play_note.png
Normal file
BIN
OsmAnd/res/drawable-hdpi/list_activities_play_note.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_remove_note.png
Normal file
BIN
OsmAnd/res/drawable-hdpi/list_activities_remove_note.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
BIN
OsmAnd/res/drawable-hdpi/list_activities_video_note.png
Normal file
BIN
OsmAnd/res/drawable-hdpi/list_activities_video_note.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
|
@ -121,11 +121,11 @@ public class AudioNotesLayer extends OsmandMapLayer implements IContextMenuProvi
|
|||
|
||||
};
|
||||
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 {
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -369,21 +369,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, 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
|
||||
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
|
||||
recordAudio(latitude, longitude, mapActivity);
|
||||
}
|
||||
}, 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
|
||||
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
|
||||
recordVideo(latitude, longitude, mapActivity);
|
||||
}
|
||||
}, 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
|
||||
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
|
||||
|
|
Loading…
Reference in a new issue