From 45aafbf88479c561da6be7cd2494f5e8d1eb6a9c Mon Sep 17 00:00:00 2001 From: Alexander Sytnyk Date: Fri, 12 Jan 2018 12:13:42 +0200 Subject: [PATCH] Change button icon color on tap in osm bug context menu --- OsmAnd/src/net/osmand/plus/osmedit/OsmBugMenuController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/osmedit/OsmBugMenuController.java b/OsmAnd/src/net/osmand/plus/osmedit/OsmBugMenuController.java index 02df976545..c97d9354c8 100644 --- a/OsmAnd/src/net/osmand/plus/osmedit/OsmBugMenuController.java +++ b/OsmAnd/src/net/osmand/plus/osmedit/OsmBugMenuController.java @@ -39,7 +39,7 @@ public class OsmBugMenuController extends MenuController { } else { leftTitleButtonController.caption = getMapActivity().getString(R.string.poi_dialog_reopen); } - leftTitleButtonController.leftIconId = R.drawable.ic_action_note_dark; + leftTitleButtonController.updateStateListDrawableIcon(R.drawable.ic_action_note_dark, true); rightTitleButtonController = new TitleButtonController() { @Override @@ -50,7 +50,7 @@ public class OsmBugMenuController extends MenuController { } }; rightTitleButtonController.caption = getMapActivity().getString(R.string.shared_string_close); - rightTitleButtonController.leftIconId = R.drawable.ic_action_remove_dark; + rightTitleButtonController.updateStateListDrawableIcon(R.drawable.ic_action_remove_dark, true); updateData(); }