BartRunnerAndroid/res/layout/favorite_listing.xml

49 lines
1.7 KiB
XML
Raw Normal View History

2011-05-23 18:59:34 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:bart="http://schemas.android.com/apk/res/com.dougkeen.bart"
2012-01-02 23:08:43 +00:00
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:paddingLeft="5dp"
android:paddingRight="5dp" >
<com.dougkeen.bart.controls.CountdownTextView
android:id="@+id/countdownText"
style="@style/DepartureCountdownText"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:gravity="right"
android:width="90dp"
bart:tickInterval="1" />
<com.dougkeen.bart.controls.TimedTextSwitcher
android:id="@+id/uncertainty"
style="@style/DepartureUncertaintyText"
2012-01-02 23:08:43 +00:00
android:layout_alignParentRight="true"
android:layout_below="@id/countdownText"
bart:tickInterval="1" />
2012-01-02 23:08:43 +00:00
<TextView
android:id="@+id/originText"
style="@style/FavoriteListingTextView"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true"
android:layout_toLeftOf="@id/countdownText"
2012-01-02 23:08:43 +00:00
android:text="Origin" />
<TextView
android:id="@+id/to"
style="@style/FavoriteListingTextView"
android:layout_below="@id/originText"
android:paddingLeft="15dp"
android:paddingRight="8dp"
android:text="to" />
<TextView
android:id="@+id/destinationText"
style="@style/FavoriteListingTextView"
android:layout_below="@id/originText"
android:layout_toLeftOf="@id/countdownText"
2012-01-02 23:08:43 +00:00
android:layout_toRightOf="@id/to"
android:text="Destination" />
</RelativeLayout>