diff options
author | Christopher Baines <cbaines8@gmail.com> | 2012-03-07 21:24:50 +0000 |
---|---|---|
committer | Christopher Baines <cbaines8@gmail.com> | 2012-03-07 21:24:50 +0000 |
commit | 39600767cb32b65e4e3495dc996b3af6d9fae52c (patch) | |
tree | 51208094900daaef4a05b11a4516b37948c33bac /res | |
parent | 625e2068d0c6288321d3a6be31490767eed4defe (diff) | |
download | southamptonuniversitymap-39600767cb32b65e4e3495dc996b3af6d9fae52c.tar southamptonuniversitymap-39600767cb32b65e4e3495dc996b3af6d9fae52c.tar.gz |
Better BusActivity.
Diffstat (limited to 'res')
-rw-r--r-- | res/layout/bus_specific_stop_view.xml | 32 |
1 files changed, 20 insertions, 12 deletions
diff --git a/res/layout/bus_specific_stop_view.xml b/res/layout/bus_specific_stop_view.xml index e48e2f1..8652d2d 100644 --- a/res/layout/bus_specific_stop_view.xml +++ b/res/layout/bus_specific_stop_view.xml @@ -1,28 +1,36 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent" > + android:layout_height="wrap_content" > <TextView android:id="@+id/busSpecificStopViewName" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" - android:layout_alignParentTop="true" /> + android:layout_alignParentTop="true" + android:layout_toLeftOf="@+id/busSpecificStopViewRightContainer" + android:singleLine="true" + android:text="Name" /> - <TextView - android:id="@+id/busSpecificStopViewID" + <LinearLayout + android:id="@+id/busSpecificStopViewRightContainer" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" - android:layout_alignParentTop="true" /> + android:layout_alignParentTop="true" > - <ProgressBar - android:id="@+id/busSpecificStopViewProgressBar" - style="?android:attr/progressBarStyleSmall" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentTop="true" - android:layout_toLeftOf="@+id/textView2" /> + <ProgressBar + android:id="@+id/busSpecificStopViewProgressBar" + style="?android:attr/progressBarStyleSmall" + android:layout_width="wrap_content" + android:layout_height="wrap_content" /> + + <TextView + android:id="@+id/busSpecificStopViewTime" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="Time" /> + </LinearLayout> </RelativeLayout>
\ No newline at end of file |