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

Contents of /android/TrainInfo/res/layout/departurelist.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 239 - (show annotations) (download) (as text)
Sun Aug 9 09:09:16 2009 UTC (14 years, 9 months ago) by torben
File MIME type: text/xml
File size: 1565 byte(s)
Launch a map viewer when user clicks the station's address
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 android:orientation="vertical"
4 android:layout_width="fill_parent"
5 android:layout_height="fill_parent"
6 android:padding="5dp"
7 >
8 <LinearLayout
9 android:orientation="vertical"
10 android:layout_width="wrap_content"
11 android:layout_height="wrap_content"
12 android:id="@+id/header"
13 android:clickable="true"
14 >
15 <TextView android:id="@+id/stationName"
16 android:layout_width="wrap_content"
17 android:layout_height="wrap_content"
18 android:textSize="20sp"
19 android:textStyle="bold"
20 />
21 <TextView android:id="@+id/stationAddr"
22 android:layout_width="wrap_content"
23 android:layout_height="wrap_content"
24 android:textSize="20sp"
25 />
26 <TextView android:id="@+id/stationDistance"
27 android:layout_width="wrap_content"
28 android:layout_height="wrap_content"
29 android:textSize="18sp"
30 />
31 </LinearLayout>
32
33 <View
34 android:layout_width="fill_parent"
35 android:layout_height="2dip"
36 android:background="#aaaaaa"
37 android:padding="12dip"
38 />
39
40 <ListView android:id="@id/android:list"
41 android:layout_width="fill_parent"
42 android:layout_height="wrap_content"
43 android:clickable="false"
44 />
45 <TextView
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 />
49
50 </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20