BESTMobile/android/mobile/res/layout/routes.xml

109 lines
3.1 KiB
XML
Raw Normal View History

2012-09-06 17:38:46 +00:00
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/routeslayout"
android:layout_width="fill_parent"
android:background="#efefef"
2012-10-25 14:45:46 +00:00
android:orientation="vertical"
2012-09-06 17:38:46 +00:00
android:layout_height="fill_parent" >
2012-10-25 14:45:46 +00:00
<LinearLayout
android:id="@+id/listheader"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="10dp"
android:orientation="vertical">
<LinearLayout
android:id="@+id/listheader1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="0dp"
android:orientation="horizontal">
<ImageView
android:id="@+id/busBlue"
android:layout_width="0dp"
android:layout_weight="0.1"
android:gravity="left"
android:layout_height="wrap_content"
android:src="@drawable/bus_blue_small"
android:background="@null"/>
<TextView
android:id="@+id/_routename"
android:layout_width="0dp"
android:layout_weight="0.15"
android:layout_height="wrap_content"
android:gravity="center"
android:textSize="18sp"
android:paddingLeft="0dp"
android:textColor="#5a5858"/>
<TextView
android:id="@+id/_routelongname"
android:layout_width="0dp"
android:layout_weight="0.75"
android:layout_height="wrap_content"
android:gravity="left"
android:textSize="18sp"
android:paddingLeft="10dp"
android:textColor="#5a5858"/>
</LinearLayout>
2012-09-06 17:38:46 +00:00
<LinearLayout
2012-10-25 14:45:46 +00:00
android:id="@+id/listheader2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:padding="0dp"
android:gravity="center"
android:orientation="horizontal"
android:layout_below="@id/listheader1">
<ImageView
android:id="@+id/busBlue"
android:layout_width="wrap_content"
android:gravity="right"
android:layout_height="wrap_content"
android:src="@drawable/freq"
android:background="@null"/>
<TextView
android:id="@+id/_freq"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left"
android:textSize="18sp"
android:paddingLeft="10dp"
android:textColor="#5a5858"/>
</LinearLayout>
</LinearLayout>
<!--<LinearLayout
2012-09-06 17:38:46 +00:00
android:id="@+id/listheader1"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="#d2d2d2"
android:padding="10dp">
<TextView
android:id="@+id/stopnameHead"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="16sp"
2012-10-25 14:45:46 +00:00
android:text="@+string/StopNameHeading"
2012-09-06 17:38:46 +00:00
android:textColor="#070707">
</TextView>
2012-10-25 14:45:46 +00:00
</LinearLayout> -->
2012-09-06 17:38:46 +00:00
<LinearLayout
android:id="@+id/linearlayout2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2012-10-25 14:45:46 +00:00
android:layout_below="@id/listheader">
2012-09-06 17:38:46 +00:00
<ListView
2012-10-25 14:45:46 +00:00
android:id="@+id/routeslist"
2012-09-06 17:38:46 +00:00
android:label="Buses"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
</ListView>
</LinearLayout>
</RelativeLayout>