4 |
android:layout_width="fill_parent" |
android:layout_width="fill_parent" |
5 |
android:layout_height="fill_parent" |
android:layout_height="fill_parent" |
6 |
android:padding="5dp" |
android:padding="5dp" |
7 |
|
android:id="@+id/rootView" |
8 |
> |
> |
9 |
|
<LinearLayout |
10 |
<TextView android:id="@+id/stationName" |
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 |
|
> |
16 |
|
<LinearLayout |
17 |
|
android:orientation="horizontal" |
18 |
android:layout_width="wrap_content" |
android:layout_width="wrap_content" |
19 |
android:layout_height="wrap_content" |
android:layout_height="wrap_content"> |
20 |
android:textSize="20sp" |
<TextView android:id="@+id/stationName" |
21 |
android:textStyle="bold" |
android:layout_width="wrap_content" |
22 |
/> |
android:layout_height="wrap_content" |
23 |
<TextView android:id="@+id/stationAddr" |
android:textSize="20sp" |
24 |
android:layout_width="wrap_content" |
android:textStyle="bold"/> |
25 |
android:layout_height="wrap_content" |
<ImageView android:id="@+id/notifIcon" |
26 |
android:textSize="20sp" |
android:layout_width="wrap_content" |
27 |
/> |
android:layout_height="wrap_content" |
28 |
<TextView android:id="@+id/stationDistance" |
android:layout_gravity="center" |
29 |
android:layout_width="wrap_content" |
android:layout_marginLeft="2dp" |
30 |
android:layout_height="wrap_content" |
android:src="@drawable/info20" |
31 |
android:textSize="18sp" |
android:visibility="invisible" |
32 |
/> |
/> |
33 |
|
</LinearLayout> |
34 |
|
<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 |
|
|
46 |
<View |
<View |
47 |
android:layout_width="fill_parent" |
android:layout_width="fill_parent" |
54 |
android:layout_width="fill_parent" |
android:layout_width="fill_parent" |
55 |
android:layout_height="wrap_content" |
android:layout_height="wrap_content" |
56 |
android:clickable="false" |
android:clickable="false" |
57 |
|
android:layout_weight="1" |
58 |
/> |
/> |
59 |
<TextView |
|
60 |
android:layout_width="wrap_content" |
<LinearLayout android:id="@+id/metroonly" |
61 |
android:layout_height="wrap_content" |
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 |
|
|
98 |
|
<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 |
|
<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 |
|
</LinearLayout> |
126 |
</LinearLayout> |
</LinearLayout> |