<?xml version="1.0" encoding="UTF-8"?>
<xLayout>
  <info>layout with realtime on top</info>
  <parameter name="iconColumnWidth" value="5"/>
  <parameter name="firstColumnWidth" value="16"/>
  <parameter name="secondColumnWidth" value="62"/>
  <parameter name="thirdColumnWidth" value="16"/>
  <parameter name="headerFontHeight" value="60"/>
  <parameter name="departureRowHeight" value="50"/>
  <parameter name="departureFontHeight" value="45"/>
  
  <parameter name="icoBus" value="bus-512.png">
  </parameter>
  <parameter name="icoTram" value="ico_tram.png">
  </parameter>
  <parameter name="icoCityRailway" value="ico_sBahn.png">
  </parameter>
  <parameter name="icoBackground" value="water.png">
  </parameter>
  <parameter name="icoMetro" value="ico_metro.png">
  </parameter>
  <parameter name="icoFerry" value="ico_ferry.png">
  </parameter>

  <entry type="column" margin="left:1;right:1;top:0.5;bottom:0.5" description="overall column" bgImg="icoBackground" frame="none">
    <entry type="row" height="5" font="ARIALBD.TTF" fntColor="000000">
      <entry type="space" width="1"/>
      <entry type="text" height="headerFontHeight">
        <src path="/dpi/time"/>
      </entry>
      <entry type="text" height="headerFontHeight" hAlign="right">
        <src path="/dpi/location" attribute="station" />
      </entry>
      <entry type="space" width="3"/>
    </entry>
    <entry type="space" bgColor="000000" height="2"/>
    <entry type="row" bgColor="000000" height="5" font="ARIALBD.TTF" fntColor="FFFFFF">
      <entry type="space" width="iconColumnWidth"/>
      <entry type="space" width="1"/>
      <entry type="text" height="headerFontHeight" width="firstColumnWidth">
        <src value="Linie"/>
      </entry>
      <entry type="text" height="headerFontHeight" width="secondColumnWidth">
        <src value="Ziel"/>
      </entry>
      <entry type="text" height="headerFontHeight" width="thirdColumnWidth">
        <src value="Min"/>
      </entry>
    </entry>
    
    <entry type="space" height="2"/>
    
    <entry type="column" fontHeight="departureFontHeight" iterator="path:/dpi/departures/departure;name:jrny;max:14">
      <entry type="row" height="8" font="ARIALBD.TTF" fntColor="000000">
        <entry type="picture" height="departureRowHeight" width="iconColumnWidth" vAlign="top" frame="none">
          <!--src value="icoBus"/-->
          <!--src switch="1:icoBus;2:icoTram" attribute="cat" path="/dpi/departures/departure[iterator(jrny)]"/-->
          <src switch="1:icoBus;2:icoTram;3:icoCityRailway;4:icoMetro;5:icoFerry" attribute="cat" path="/dpi/departures/departure[iterator(jrny)]"/>
        </entry>
        <entry type="space" width="1"/>
        <entry type="text" height="departureRowHeight" width="firstColumnWidth">
          <src attribute="lineShort" path="/dpi/departures/departure[iterator(jrny)]"/>
        </entry>
        <entry type="text" height="departureRowHeight" width="secondColumnWidth" autolinebreak="false">
          <src attribute="destination" path="/dpi/departures/departure[iterator(jrny)]"/>
        </entry>
        <entry type="text" height="departureRowHeight" width="thirdColumnWidth" hAlign="center">
          <src attribute="timeMinutes" path="/dpi/departures/departure[iterator(jrny)]"/>
        </entry>
      </entry>
    </entry>
    
    <!--<entry type="row" bgColor="B0B0B0" height="8" font="ARIALBD.TTF" fntColor="000000">
      <entry type="space" width="1"/>
      <entry type="text" height="headerFontHeight">
        <src value="need help?:"/>
      </entry>     
      <entry type="space" width="4"/>
      <entry type="qr" margin="1" width="25" vAlign="center" micro="false" version="0" casesensitive="true" description="qr-code">
        <src value="www.google.de"/>
        <errorCorrection possible="low;medium;quality;high">high</errorCorrection>
      </entry>
    </entry>-->
  </entry>
  <!--metaData src="0_meta_frm64346_cid10.xml"></metaData-->
</xLayout>
