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 |
|
|
/>
|
123 |
torben |
1044 |
<Button
|
124 |
|
|
android:id="@+id/metrobtn"
|
125 |
|
|
android:layout_width="0dp"
|
126 |
|
|
android:layout_height="wrap_content"
|
127 |
|
|
android:background="@drawable/custom_button"
|
128 |
|
|
android:layout_weight="1"
|
129 |
torben |
1072 |
android:text="Metro"
|
130 |
|
|
android:textSize="16sp"
|
131 |
|
|
/>
|
132 |
torben |
835 |
</LinearLayout>
|
133 |
torben |
237 |
</LinearLayout>
|