aboutsummaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/building_activity.xml3
-rw-r--r--res/layout/bus_activity.xml1
-rw-r--r--res/layout/bus_specific_stop_view.xml36
-rw-r--r--res/layout/bus_stop_activity.xml1
4 files changed, 40 insertions, 1 deletions
diff --git a/res/layout/building_activity.xml b/res/layout/building_activity.xml
index 777ad0a..1fc1312 100644
--- a/res/layout/building_activity.xml
+++ b/res/layout/building_activity.xml
@@ -25,7 +25,7 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/buildingActivityLoadBarLayout"
+ android:id="@+id/buildingActivityContentLayout"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center"
@@ -41,6 +41,7 @@
android:id="@+id/buildingActivityMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
android:text=""
android:textAppearance="?android:attr/textAppearanceLarge" />
</LinearLayout>
diff --git a/res/layout/bus_activity.xml b/res/layout/bus_activity.xml
index d8b26f6..93ad39a 100644
--- a/res/layout/bus_activity.xml
+++ b/res/layout/bus_activity.xml
@@ -37,6 +37,7 @@
android:id="@+id/busActivityMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
android:text=""
android:textAppearance="?android:attr/textAppearanceLarge" />
diff --git a/res/layout/bus_specific_stop_view.xml b/res/layout/bus_specific_stop_view.xml
new file mode 100644
index 0000000..6787540
--- /dev/null
+++ b/res/layout/bus_specific_stop_view.xml
@@ -0,0 +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="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_toLeftOf="@+id/busSpecificStopViewRightContainer"
+ android:singleLine="true" />
+
+ <LinearLayout
+ android:id="@+id/busSpecificStopViewRightContainer"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true"
+ android:layout_centerVertical="true"
+ android:gravity="center_vertical"
+ android:orientation="vertical" >
+
+ <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" />
+ </LinearLayout>
+
+</RelativeLayout> \ No newline at end of file
diff --git a/res/layout/bus_stop_activity.xml b/res/layout/bus_stop_activity.xml
index 66da2f6..40b0505 100644
--- a/res/layout/bus_stop_activity.xml
+++ b/res/layout/bus_stop_activity.xml
@@ -129,6 +129,7 @@
android:id="@+id/busStopMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:gravity="center_horizontal"
android:text=""
android:textAppearance="?android:attr/textAppearanceLarge" />