Merge pull request #1580 from osmandapp/change_icon_color
Change icon color
This commit is contained in:
commit
9f133c92e9
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue