Change button icon color on tap in osm bug context menu
This commit is contained in:
parent
c6497ba74a
commit
45aafbf884
1 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,7 @@ public class OsmBugMenuController extends MenuController {
|
||||||
} else {
|
} else {
|
||||||
leftTitleButtonController.caption = getMapActivity().getString(R.string.poi_dialog_reopen);
|
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() {
|
rightTitleButtonController = new TitleButtonController() {
|
||||||
@Override
|
@Override
|
||||||
|
@ -50,7 +50,7 @@ public class OsmBugMenuController extends MenuController {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
rightTitleButtonController.caption = getMapActivity().getString(R.string.shared_string_close);
|
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();
|
updateData();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue