Implement audio-video extension
This commit is contained in:
parent
d26e9df605
commit
21cd4c4289
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
|
||||||
recordControl.setImageDrawable(activity.getResources().getDrawable(R.drawable.monitoring_rec_inactive));
|
recordControl.setImageDrawable(activity.getResources().getDrawable(R.drawable.monitoring_rec_inactive));
|
||||||
setRecordListener(recordControl, activity);
|
setRecordListener(recordControl, activity);
|
||||||
mapInfoLayer.getMapInfoControls().registerSideWidget(recordControl,
|
mapInfoLayer.getMapInfoControls().registerSideWidget(recordControl,
|
||||||
R.drawable.widget_icon_av_active_menu, R.string.map_widget_av_notes, "audionotes", false,
|
R.drawable.widget_icon_av_inactive, R.string.map_widget_av_notes, "audionotes", false,
|
||||||
EnumSet.allOf(ApplicationMode.class),
|
EnumSet.allOf(ApplicationMode.class),
|
||||||
EnumSet.noneOf(ApplicationMode.class), 22);
|
EnumSet.noneOf(ApplicationMode.class), 22);
|
||||||
mapInfoLayer.recreateControls();
|
mapInfoLayer.recreateControls();
|
||||||
|
|
Loading…
Reference in a new issue