BartRunnerAndroid/res/layout/departure_listing.xml
dkeen ca8f07b30a Changed arrivals to departures.
Added handling for WHITE and SPCL

--HG--
rename : res/layout/arrival_listing.xml => res/layout/departure_listing.xml
rename : src/com/dougkeen/bart/ArrivalArrayAdapter.java => src/com/dougkeen/bart/DepartureArrayAdapter.java
rename : src/com/dougkeen/bart/GetRealTimeArrivalsTask.java => src/com/dougkeen/bart/GetRealTimeDeparturesTask.java
rename : src/com/dougkeen/bart/ViewArrivalsActivity.java => src/com/dougkeen/bart/ViewDeparturesActivity.java
rename : src/com/dougkeen/bart/data/Arrival.java => src/com/dougkeen/bart/data/Departure.java
rename : src/com/dougkeen/bart/data/RealTimeArrivals.java => src/com/dougkeen/bart/data/RealTimeDepartures.java
2011-06-05 11:13:21 -07:00

27 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:id="@+id/destinationColorBar" android:src="@drawable/basic_rectangle"
android:layout_width="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentLeft="true" android:layout_centerVertical="true" />
<LinearLayout android:id="@+id/topRow"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:layout_toRightOf="@id/destinationColorBar"
android:layout_alignParentTop="true">
<TextView android:id="@+id/destinationText" style="@style/DepartureDestinationText"
android:layout_weight="1" android:singleLine="true"
android:ellipsize="marquee" />
<ImageView android:id="@+id/bikeIcon" android:src="@drawable/bike"
style="@style/BikeIcon" />
<TextView android:id="@+id/countdown" style="@style/DepartureCountdownText"
android:gravity="right" />
</LinearLayout>
<ImageView android:id="@+id/xferIcon" android:src="@drawable/xfer"
android:layout_below="@id/topRow" android:layout_alignParentRight="true"
style="@style/XferIcon" />
<TextView android:id="@+id/trainLengthText" style="@style/DepartureTrainLengthText"
android:layout_toRightOf="@id/destinationColorBar"
android:layout_below="@id/topRow" />
<TextView android:layout_alignParentRight="true" android:id="@+id/uncertainty"
android:layout_below="@id/topRow" style="@style/DepartureUncertaintyText" />
</RelativeLayout>