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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1053 - (hide annotations) (download) (as text)
Tue Sep 14 16:00:57 2010 UTC (13 years, 8 months ago) by torben
File MIME type: text/xml
File size: 3796 byte(s)
First iteration of metro support
1 torben 237 <?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 torben 1053 android:id="@+id/rootView"
8 torben 237 >
9 torben 239 <LinearLayout
10     android:orientation="vertical"
11     android:layout_width="wrap_content"
12     android:layout_height="wrap_content"
13     android:id="@+id/header"
14     android:clickable="true"
15 torben 982 >
16     <LinearLayout
17     android:orientation="horizontal"
18     android:layout_width="wrap_content"
19     android:layout_height="wrap_content">
20     <TextView android:id="@+id/stationName"
21     android:layout_width="wrap_content"
22     android:layout_height="wrap_content"
23     android:textSize="20sp"
24     android:textStyle="bold"/>
25     <ImageView android:id="@+id/notifIcon"
26     android:layout_width="wrap_content"
27     android:layout_height="wrap_content"
28     android:layout_gravity="center"
29     android:layout_marginLeft="2dp"
30     android:src="@drawable/info20"
31     android:visibility="invisible"
32     />
33     </LinearLayout>
34 torben 239 <TextView android:id="@+id/stationAddr"
35     android:layout_width="wrap_content"
36     android:layout_height="wrap_content"
37     android:textSize="20sp"
38     />
39     <TextView android:id="@+id/stationDistance"
40     android:layout_width="wrap_content"
41     android:layout_height="wrap_content"
42     android:textSize="18sp"
43     />
44     </LinearLayout>
45 torben 237
46     <View
47     android:layout_width="fill_parent"
48     android:layout_height="2dip"
49     android:background="#aaaaaa"
50     android:padding="12dip"
51     />
52    
53     <ListView android:id="@id/android:list"
54     android:layout_width="fill_parent"
55     android:layout_height="wrap_content"
56     android:clickable="false"
57 torben 835 android:layout_weight="1"
58 torben 237 />
59 torben 1053
60     <LinearLayout android:id="@+id/metroonly"
61     android:layout_width="fill_parent"
62     android:layout_height="wrap_content"
63     android:visibility="gone"
64     android:layout_weight="1"
65     android:orientation="vertical"
66     >
67     <TextView android:id="@+id/operations"
68     android:layout_width="wrap_content"
69     android:layout_height="wrap_content"
70     android:paddingBottom="2dp"
71     />
72    
73    
74     <TableLayout
75     android:id="@+id/metrotable"
76     android:layout_width="fill_parent"
77     android:layout_height="wrap_content"
78     android:layout_weight="1"
79     android:stretchColumns="0,1,2"
80     >
81    
82    
83    
84     </TableLayout>
85    
86    
87    
88     <TextView
89     android:id="@+id/plan"
90     android:layout_width="wrap_content"
91     android:layout_height="wrap_content"
92     />
93     </LinearLayout>
94    
95    
96    
97 torben 237
98 torben 835 <LinearLayout
99     android:orientation="horizontal"
100     android:layout_width="fill_parent"
101     android:layout_height="wrap_content"
102     >
103     <Button
104     android:id="@+id/departurebtn"
105     android:layout_width="0dp"
106     android:layout_height="wrap_content"
107     android:layout_weight="1"
108     android:background="@drawable/custom_button_hilight"
109     android:text="@string/departurelist_departures"
110     />
111     <Button
112     android:id="@+id/arrivalbtn"
113     android:layout_width="0dp"
114     android:layout_height="wrap_content"
115     android:background="@drawable/custom_button"
116     android:layout_weight="1"
117     android:text="@string/departurelist_arrivals"/>
118 torben 1044 <Button
119     android:id="@+id/metrobtn"
120     android:layout_width="0dp"
121     android:layout_height="wrap_content"
122     android:background="@drawable/custom_button"
123     android:layout_weight="1"
124     android:text="Metro"/>
125 torben 835 </LinearLayout>
126 torben 237 </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20