From 5b187cd39b6974f5ba8189c74402e7e34932cbc8 Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 14 Jan 2013 21:22:33 +0100 Subject: [PATCH] Issue 1592 --- .../net/osmand/plus/audionotes/AudioVideoNotesPlugin.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java index b6f5d63444..70550fab58 100644 --- a/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java +++ b/OsmAnd/src/net/osmand/plus/audionotes/AudioVideoNotesPlugin.java @@ -383,10 +383,10 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { MapInfoLayer mapInfoLayer = activity.getMapLayers().getMapInfoLayer(); if (mapInfoLayer != null ) { recordControl = new TextInfoControl(activity, 0, mapInfoLayer.getPaintText(), mapInfoLayer.getPaintSubText()); - recordControl.setImageDrawable(activity.getResources().getDrawable(R.drawable.monitoring_rec_small)); + recordControl.setImageDrawable(activity.getResources().getDrawable(R.drawable.monitoring_rec_inactive)); setRecordListener(recordControl, activity); mapInfoLayer.getMapInfoControls().registerSideWidget(recordControl, - 0/*R.drawable.widget_parking*/, R.string.map_widget_av_notes, "audionotes", false, + R.drawable.widget_tracking, R.string.map_widget_av_notes, "audionotes", false, EnumSet.allOf(ApplicationMode.class), EnumSet.noneOf(ApplicationMode.class), 22); mapInfoLayer.recreateControls(); @@ -598,6 +598,7 @@ public class AudioVideoNotesPlugin extends OsmandPlugin { mr.start(); mediaRec = mr; recordControl.setText(app.getString(R.string.av_control_stop), ""); + recordControl.setIcon(app.getDrawable(R.drawable.monitoring_rec_big)); final MapInfoLayer mil = mapActivity.getMapLayers().getMapInfoLayer(); final MapStackControl par = mil.getRightStack(); final boolean contains = par.getAllViews().contains(recordControl);