nicer recording icons in context menu
This commit is contained in:
parent
4ba8b433c1
commit
910d0ab888
5 changed files with 2 additions and 2 deletions
BIN
OsmAnd/res/drawable-large/list_context_menu_arecord.png
Normal file
BIN
OsmAnd/res/drawable-large/list_context_menu_arecord.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
BIN
OsmAnd/res/drawable-large/list_context_menu_vrecord.png
Normal file
BIN
OsmAnd/res/drawable-large/list_context_menu_vrecord.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_arecord.png
Normal file
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_arecord.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_vrecord.png
Normal file
BIN
OsmAnd/res/drawable-mdpi/list_context_menu_vrecord.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue