Merge pull request #1580 from osmandapp/change_icon_color

Change icon color
This commit is contained in:
vshcherb 2015-08-22 18:30:16 +03:00
commit 9f133c92e9

View file

@ -189,7 +189,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
final boolean isRecording = app.getSettings().SAVE_GLOBAL_TRACK_TO_GPX.get(); final boolean isRecording = app.getSettings().SAVE_GLOBAL_TRACK_TO_GPX.get();
ImageButton stop = ((ImageButton) v.findViewById(R.id.stop)); ImageButton stop = ((ImageButton) v.findViewById(R.id.stop));
if (isRecording) { if (isRecording) {
stop.setImageDrawable(app.getIconsCache().getIcon(R.drawable.ic_action_rec_stop, R.color.recording_color)); stop.setImageDrawable(app.getIconsCache().getContentIcon(R.drawable.ic_action_rec_stop));
} else { } else {
stop.setImageDrawable(app.getIconsCache().getContentIcon(R.drawable.ic_action_rec_start)); stop.setImageDrawable(app.getIconsCache().getContentIcon(R.drawable.ic_action_rec_start));
} }