/[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 1250 - (hide annotations) (download) (as text)
Thu Mar 31 18:20:42 2011 UTC (13 years, 2 months ago) by torben
File MIME type: text/xml
File size: 4721 byte(s)
Split regional and stog to different lists

bump version to 0.9.5(41)
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 torben 1072 android:textSize="16sp"
72 torben 1053 />
73    
74    
75     <TableLayout
76     android:id="@+id/metrotable"
77     android:layout_width="fill_parent"
78     android:layout_height="wrap_content"
79     android:layout_weight="1"
80     android:stretchColumns="0,1,2"
81     >
82    
83    
84    
85     </TableLayout>
86    
87    
88    
89     <TextView
90     android:id="@+id/plan"
91     android:layout_width="wrap_content"
92 torben 1072 android:layout_height="wrap_content"
93     android:textSize="16sp"
94 torben 1053 />
95     </LinearLayout>
96    
97    
98    
99 torben 237
100 torben 835 <LinearLayout
101     android:orientation="horizontal"
102     android:layout_width="fill_parent"
103     android:layout_height="wrap_content"
104     >
105     <Button
106     android:id="@+id/departurebtn"
107     android:layout_width="0dp"
108     android:layout_height="wrap_content"
109     android:layout_weight="1"
110     android:background="@drawable/custom_button_hilight"
111     android:text="@string/departurelist_departures"
112 torben 1072 android:textSize="16sp"
113 torben 835 />
114     <Button
115     android:id="@+id/arrivalbtn"
116     android:layout_width="0dp"
117     android:layout_height="wrap_content"
118     android:background="@drawable/custom_button"
119     android:layout_weight="1"
120 torben 1072 android:text="@string/departurelist_arrivals"
121     android:textSize="16sp"
122 torben 1250 />
123     </LinearLayout>
124     <LinearLayout
125     android:orientation="horizontal"
126     android:layout_width="fill_parent"
127     android:layout_height="wrap_content"
128     >
129     <Button
130     android:id="@+id/regionalbtn"
131     android:layout_width="0dp"
132     android:layout_height="wrap_content"
133     android:layout_weight="1"
134     android:background="@drawable/custom_button_hilight"
135     android:text="@string/departurelist_regional"
136     android:textSize="16sp"
137 torben 1072 />
138 torben 1044 <Button
139 torben 1250 android:id="@+id/stogbtn"
140     android:layout_width="0dp"
141     android:layout_height="wrap_content"
142     android:background="@drawable/custom_button"
143     android:layout_weight="1"
144     android:text="@string/departurelist_stog"
145     android:textSize="16sp"
146     />
147     <Button
148 torben 1044 android:id="@+id/metrobtn"
149     android:layout_width="0dp"
150     android:layout_height="wrap_content"
151     android:background="@drawable/custom_button"
152     android:layout_weight="1"
153 torben 1072 android:text="Metro"
154     android:textSize="16sp"
155     />
156 torben 835 </LinearLayout>
157 torben 1250
158    
159 torben 237 </LinearLayout>

  ViewVC Help
Powered by ViewVC 1.1.20