/[projects]/android/TrainInfo/res/layout/stationrow.xml
ViewVC logotype

Annotation of /android/TrainInfo/res/layout/stationrow.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 558 - (hide annotations) (download) (as text)
Wed Jan 27 11:12:37 2010 UTC (14 years, 4 months ago) by torben
File MIME type: text/xml
File size: 1687 byte(s)
Add icons for the station to indicate which train types they service
1 torben 237
2     <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="fill_parent"
4     android:layout_height="wrap_content"
5     android:orientation="vertical">
6    
7 torben 558 <LinearLayout
8     android:layout_width="fill_parent"
9     android:layout_height="wrap_content"
10     android:orientation="horizontal">
11    
12     <TextView android:id="@+id/stationName"
13     android:textSize="20sp"
14     android:textStyle="bold"
15     android:layout_width="wrap_content"
16     android:layout_height="wrap_content"
17     android:text="Name"
18     android:layout_marginRight="10dp"
19     android:layout_weight="1"
20     />
21    
22     <ImageView
23     android:id="@+id/isregional"
24     android:layout_width="wrap_content"
25     android:layout_height="wrap_content"
26     android:src="@drawable/station_reg"
27     android:layout_marginRight="4px"
28     android:layout_gravity="center"
29     />
30     <ImageView
31     android:id="@+id/isstrain"
32     android:layout_width="wrap_content"
33     android:layout_height="wrap_content"
34     android:src="@drawable/station_strain"
35     android:layout_marginRight="4px"
36     android:layout_gravity="center"/>
37     <ImageView
38     android:id="@+id/ismetro"
39     android:layout_width="wrap_content"
40     android:layout_height="wrap_content"
41     android:src="@drawable/station_metro"
42     android:layout_marginRight="2px"
43     android:layout_gravity="center"/>
44    
45     </LinearLayout>
46 torben 237
47     <TextView android:id="@+id/stationDistance"
48     android:textSize="16sp"
49     android:layout_width="fill_parent"
50 torben 558 android:layout_height="wrap_content" android:text="Distance"/>
51 torben 237 </LinearLayout>
52    

  ViewVC Help
Powered by ViewVC 1.1.20