aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorChristopher Baines <cbaines8@gmail.com>2012-03-07 21:24:50 +0000
committerChristopher Baines <cbaines8@gmail.com>2012-03-07 21:24:50 +0000
commit39600767cb32b65e4e3495dc996b3af6d9fae52c (patch)
tree51208094900daaef4a05b11a4516b37948c33bac /res
parent625e2068d0c6288321d3a6be31490767eed4defe (diff)
downloadsouthamptonuniversitymap-39600767cb32b65e4e3495dc996b3af6d9fae52c.tar
southamptonuniversitymap-39600767cb32b65e4e3495dc996b3af6d9fae52c.tar.gz
Better BusActivity.
Diffstat (limited to 'res')
-rw-r--r--res/layout/bus_specific_stop_view.xml32
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