--- android/TrainInfo/src/dk/thoerup/traininfo/DepartureListAdapter.java 2009/10/29 09:38:13 482 +++ android/TrainInfo/src/dk/thoerup/traininfo/DepartureListAdapter.java 2009/10/29 10:49:14 483 @@ -60,7 +60,16 @@ if (station.getStatus().length() > 0 || station.getNote().length() > 0) { ImageView image = (ImageView) root.findViewById(R.id.InfoIcon); - image.setImageResource(R.drawable.info20); + + int iconID; + if (station.getStatus().toLowerCase().indexOf("aflyst") > -1 || + station.getNote().toLowerCase().indexOf("aflyst") > -1 ) { + iconID = R.drawable.warn20; + } else { + iconID = R.drawable.info20; + } + + image.setImageResource( iconID ); } ImageView typeIcon = (ImageView) root.findViewById(R.id.TypeIcon);