1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2009 The Android Open Source Project
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
16 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
17 android:layout_width="fill_parent"
18 android:layout_height="wrap_content"
19 android:layout_weight="0" >
22 android:id="@+id/strut"
23 android:layout_width="10dip"
24 android:layout_height="wrap_content"
25 android:layout_centerHorizontal="true" >
30 android:id="@+id/callsign_container"
31 android:layout_width="wrap_content"
32 android:layout_height="wrap_content"
33 android:layout_alignParentLeft="true"
34 android:layout_toLeftOf="@+id/strut" >
37 android:id="@+id/callsign_label"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:text="@string/callsign_label" />
43 android:id="@+id/callsign_value"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_alignParentRight="true"
47 android:layout_below="@id/callsign_label"
49 android:textAppearance="?android:attr/textAppearanceLarge" />
54 android:id="@+id/rssi_container"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:layout_toRightOf="@id/strut"
58 android:layout_alignParentRight="true" >
61 android:id="@+id/rssi_label"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:text="@string/rssi_label" />
67 android:id="@+id/rssi_value"
68 android:layout_width="wrap_content"
69 android:layout_height="wrap_content"
70 android:layout_alignParentRight="true"
71 android:layout_below="@+id/rssi_label"
72 android:textAppearance="?android:attr/textAppearanceLarge" />
76 android:id="@+id/serial_container"
77 android:layout_width="wrap_content"
78 android:layout_height="wrap_content"
79 android:layout_below="@+id/callsign_container"
80 android:layout_toLeftOf="@+id/strut" >
83 android:id="@+id/serial_label"
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:text="@string/serial_label" />
89 android:id="@+id/serial_value"
90 android:layout_width="wrap_content"
91 android:layout_height="wrap_content"
92 android:layout_alignParentRight="true"
93 android:layout_below="@+id/serial_label"
94 android:textAppearance="?android:attr/textAppearanceLarge" />
98 android:id="@+id/flight_container"
99 android:layout_width="wrap_content"
100 android:layout_height="wrap_content"
101 android:layout_below="@+id/callsign_container"
102 android:layout_toRightOf="@+id/strut"
103 android:layout_alignParentRight="true" >
106 android:id="@+id/flight_label"
107 android:layout_width="wrap_content"
108 android:layout_height="wrap_content"
109 android:text="@string/flight_label" />
112 android:id="@+id/flight_value"
113 android:layout_width="wrap_content"
114 android:layout_height="wrap_content"
115 android:layout_alignParentRight="true"
116 android:layout_below="@+id/flight_label"
117 android:textAppearance="?android:attr/textAppearanceLarge" />
121 android:id="@+id/state_container"
122 android:layout_width="fill_parent"
123 android:layout_height="wrap_content"
124 android:layout_below="@+id/serial_container" >
127 android:id="@+id/state_label"
128 android:layout_width="wrap_content"
129 android:layout_height="wrap_content"
130 android:text="@string/state_label" />
133 android:id="@+id/state_value"
134 android:layout_width="wrap_content"
135 android:layout_height="wrap_content"
136 android:layout_below="@+id/state_label"
137 android:layout_centerInParent="true"
138 android:textAppearance="?android:attr/textAppearanceLarge"
139 android:textSize="50dip" />
144 android:id="@+id/speed_container"
145 android:layout_width="wrap_content"
146 android:layout_height="wrap_content"
147 android:layout_alignParentLeft="true"
148 android:layout_below="@+id/state_container"
149 android:layout_toLeftOf="@+id/strut" >
152 android:id="@+id/speed_label"
153 android:layout_width="wrap_content"
154 android:layout_height="wrap_content"
155 android:text="@string/speed_label" />
158 android:id="@+id/speed_value"
159 android:layout_width="wrap_content"
160 android:layout_height="wrap_content"
161 android:layout_alignParentRight="true"
162 android:layout_below="@id/speed_label"
164 android:textAppearance="?android:attr/textAppearanceLarge" />
169 android:id="@+id/accel_container"
170 android:layout_width="wrap_content"
171 android:layout_height="wrap_content"
172 android:layout_alignParentRight="true"
173 android:layout_below="@+id/state_container"
174 android:layout_toRightOf="@+id/strut" >
177 android:id="@+id/accel_label"
178 android:layout_width="wrap_content"
179 android:layout_height="wrap_content"
180 android:text="@string/accel_label" />
183 android:id="@+id/accel_value"
184 android:layout_width="wrap_content"
185 android:layout_height="wrap_content"
186 android:layout_alignParentRight="true"
187 android:layout_below="@+id/accel_label"
189 android:textAppearance="?android:attr/textAppearanceLarge" />
194 android:id="@+id/range_container"
195 android:layout_width="wrap_content"
196 android:layout_height="wrap_content"
197 android:layout_alignParentLeft="true"
198 android:layout_below="@+id/speed_container"
199 android:layout_toLeftOf="@+id/strut" >
202 android:id="@+id/range_label"
203 android:layout_width="wrap_content"
204 android:layout_height="wrap_content"
205 android:text="@string/range_label" />
208 android:id="@+id/range_value"
209 android:layout_width="wrap_content"
210 android:layout_height="wrap_content"
211 android:layout_alignParentRight="true"
212 android:layout_below="@+id/range_label"
214 android:textAppearance="?android:attr/textAppearanceLarge" />
219 android:id="@+id/height_container"
220 android:layout_width="wrap_content"
221 android:layout_height="wrap_content"
222 android:layout_alignParentRight="true"
223 android:layout_below="@id/speed_container"
224 android:layout_toRightOf="@id/strut" >
227 android:id="@+id/height_label"
228 android:layout_width="wrap_content"
229 android:layout_height="wrap_content"
230 android:text="@string/height_label" />
233 android:id="@+id/height_value"
234 android:layout_width="wrap_content"
235 android:layout_height="wrap_content"
236 android:layout_alignParentRight="true"
237 android:layout_below="@+id/height_label"
239 android:textAppearance="?android:attr/textAppearanceLarge" />
243 android:id="@+id/elevation_container"
244 android:layout_width="wrap_content"
245 android:layout_height="wrap_content"
246 android:layout_alignParentLeft="true"
247 android:layout_below="@id/range_container"
248 android:layout_toLeftOf="@id/strut" >
251 android:id="@+id/elevation_label"
252 android:layout_width="wrap_content"
253 android:layout_height="wrap_content"
254 android:text="@string/elevation_label" />
257 android:id="@+id/elevation_value"
258 android:layout_width="wrap_content"
259 android:layout_height="wrap_content"
260 android:layout_alignParentRight="true"
261 android:layout_below="@+id/elevation_label"
263 android:textAppearance="?android:attr/textAppearanceLarge" />
267 android:id="@+id/bearing_container"
268 android:layout_width="wrap_content"
269 android:layout_height="wrap_content"
270 android:layout_alignParentRight="true"
271 android:layout_below="@+id/range_container"
272 android:layout_toRightOf="@+id/strut" >
275 android:id="@+id/bearing_label"
276 android:layout_width="wrap_content"
277 android:layout_height="wrap_content"
278 android:text="@string/bearing_label" />
281 android:id="@+id/bearing_value"
282 android:layout_width="wrap_content"
283 android:layout_height="wrap_content"
284 android:layout_alignParentRight="true"
285 android:layout_below="@+id/bearing_label"
287 android:textAppearance="?android:attr/textAppearanceLarge" />
292 android:id="@+id/latitude_container"
293 android:layout_width="wrap_content"
294 android:layout_height="wrap_content"
295 android:layout_below="@+id/elevation_container" >
298 android:id="@+id/latitude_label"
299 android:layout_width="wrap_content"
300 android:layout_height="wrap_content"
301 android:text="@string/latitude_label" />
304 android:id="@+id/latitude_value"
305 android:layout_width="wrap_content"
306 android:layout_height="wrap_content"
307 android:layout_alignParentRight="true"
308 android:layout_below="@+id/latitude_label"
310 android:textAppearance="?android:attr/textAppearanceLarge" />
315 android:id="@+id/longitude_container"
316 android:layout_width="wrap_content"
317 android:layout_height="wrap_content"
318 android:layout_below="@id/latitude_container" >
321 android:id="@+id/longitude_label"
322 android:layout_width="wrap_content"
323 android:layout_height="wrap_content"
324 android:text="@string/longitude_label" />
327 android:id="@+id/longitude_value"
328 android:layout_width="wrap_content"
329 android:layout_height="wrap_content"
330 android:layout_alignParentRight="true"
331 android:layout_below="@+id/longitude_label"
333 android:textAppearance="?android:attr/textAppearanceLarge" />
339 android:id="@+id/text"
340 android:layout_width="fill_parent"
341 android:layout_height="0dip"
342 android:layout_alignParentBottom="true"
343 android:layout_below="@+id/longitude_container"
344 android:gravity="bottom"
345 android:scrollbars="vertical"
346 android:textSize="7dp"
347 android:typeface="monospace" />