Update icons
This commit is contained in:
parent
9033392b0b
commit
7cb4a066e8
1 changed files with 2 additions and 2 deletions
|
@ -189,9 +189,9 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
|
|||
final boolean isRecording = app.getSettings().SAVE_GLOBAL_TRACK_TO_GPX.get();
|
||||
ImageButton stop = ((ImageButton) v.findViewById(R.id.stop));
|
||||
if (isRecording) {
|
||||
stop.setImageDrawable(app.getIconsCache().getContentIcon(R.drawable.ic_action_rec_stop));
|
||||
stop.setImageDrawable(app.getIconsCache().getIcon(R.drawable.ic_action_rec_stop, R.color.recording_color));
|
||||
} else {
|
||||
stop.setImageDrawable(app.getIconsCache().getIcon(R.drawable.ic_action_rec_start, R.color.recording_color));
|
||||
stop.setImageDrawable(app.getIconsCache().getContentIcon(R.drawable.ic_action_rec_start));
|
||||
}
|
||||
stop.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue