/[projects]/android/TrainInfo/src/dk/thoerup/traininfo/DepartureListAdapter.java
ViewVC logotype

Diff of /android/TrainInfo/src/dk/thoerup/traininfo/DepartureListAdapter.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1453 by torben, Tue May 3 16:39:48 2011 UTC revision 1454 by torben, Thu May 5 15:32:04 2011 UTC
# Line 117  public class DepartureListAdapter extend Line 117  public class DepartureListAdapter extend
117                    
118          //TODO: all these traintypes / icons should be explained somewhere          //TODO: all these traintypes / icons should be explained somewhere
119          private static void buildImageMap() {          private static void buildImageMap() {
120                  imageMap.put("ra", R.drawable.re); //RA = regionaltog arriva                  imageMap.put("ec", R.drawable.ec); //EC = EuroCity
121                  imageMap.put("re", R.drawable.re); //RE = Regionaltog                  // Missing FP ?
                 imageMap.put("l", R.drawable.lyn); //L =  Lyn  
122                  imageMap.put("ic", R.drawable.ic); //IC = Intercity                  imageMap.put("ic", R.drawable.ic); //IC = Intercity
123                    imageMap.put("il", R.drawable.il); //IntercityLyn Nonstop
124                    // Missing Int ?
125                    // Missing IR ?
126                    imageMap.put("l", R.drawable.lyn); //L =  Lyn
127                  imageMap.put("pp", R.drawable.pp); //PP = Privatbaner (eg. odderbanen eller LokalBanen)                  imageMap.put("pp", R.drawable.pp); //PP = Privatbaner (eg. odderbanen eller LokalBanen)
128                    // Missing PX
129                    imageMap.put("ra", R.drawable.re); //RA = regionaltog arriva
130                    imageMap.put("re", R.drawable.re); //RE = Regionaltog          
131                  imageMap.put("ør", R.drawable.or); //ØR = Øresundstog                  imageMap.put("ør", R.drawable.or); //ØR = Øresundstog
132                  imageMap.put("ec", R.drawable.ec); //EC = EuroCity                                                          
133                  imageMap.put("sj", R.drawable.sj); // SJ=Svenska Jernbaner                  imageMap.put("sj", R.drawable.sj); //SJ=Svenska Jernbaner -- not mentioned on bane.dk
134                  imageMap.put("ie", R.drawable.ie);                  imageMap.put("ie", R.drawable.ie); //what's this ?? -- not mentioned on bane.dk
135                  //TODO: missing IL: IntercityLyn Nonstop                  
136                    //Missing IB ? -- not mentioned on bane.dk
137                    //Missing RX ? -- not mentioned on bane.dk
138                    
139                                    
140                  imageMap.put("a", R.drawable.stog_a);   //S-Tog: A banen #00b5f1                                                  imageMap.put("a", R.drawable.stog_a);   //S-Tog: A banen #00b5f1                                
141                  imageMap.put("b", R.drawable.stog_b);   //S-Tog:B banen #5aba52                  imageMap.put("b", R.drawable.stog_b);   //S-Tog:B banen #5aba52

Legend:
Removed from v.1453  
changed lines
  Added in v.1454

  ViewVC Help
Powered by ViewVC 1.1.20