add missing AV icons
This commit is contained in:
parent
ce04ca7489
commit
bd22026fa3
8 changed files with 10 additions and 10 deletions
BIN
OsmAnd/res/drawable-large/list_context_menu_delete.png
Normal file
BIN
OsmAnd/res/drawable-large/list_context_menu_delete.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5 KiB |
BIN
OsmAnd/res/drawable-large/list_context_menu_play.png
Normal file
BIN
OsmAnd/res/drawable-large/list_context_menu_play.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.9 KiB |
BIN
OsmAnd/res/drawable-large/list_context_menu_precord.png
Normal file
BIN
OsmAnd/res/drawable-large/list_context_menu_precord.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_delete.png
Normal file
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_delete.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_play.png
Normal file
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_play.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_precord.png
Normal file
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_precord.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 868 B |
|
@ -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, 0, listener, -1);
|
adapter.registerItem(R.string.recording_context_menu_show, R.drawable.list_context_menu_play, listener, -1);
|
||||||
} else {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -348,21 +348,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, 0, new OnContextMenuClick() {
|
adapter.registerItem(R.string.recording_context_menu_arecord, R.drawable.monitoring_rec_big, 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, 0, new OnContextMenuClick() {
|
adapter.registerItem(R.string.recording_context_menu_vrecord, R.drawable.monitoring_rec_big, 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, 0, new OnContextMenuClick() {
|
adapter.registerItem(R.string.recording_context_menu_precord, R.drawable.list_context_menu_precord, 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) {
|
||||||
|
@ -802,11 +802,11 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if(ri.rec.isPhoto()) {
|
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 {
|
} 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
|
@Override
|
||||||
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
|
public void onContextMenuClick(int itemId, int pos, boolean isChecked, DialogInterface dialog) {
|
||||||
app.getSettings().SHOW_RECORDINGS.set(true);
|
app.getSettings().SHOW_RECORDINGS.set(true);
|
||||||
|
|
Loading…
Reference in a new issue