1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright © 2013 Mike Beattie <mike@ethernal.org>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; version 2 of the License.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
19 xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="fill_parent"
21 android:layout_height="wrap_content"
22 android:orientation="vertical" >
25 xmlns:android="http://schemas.android.com/apk/res/android"
26 android:layout_width="fill_parent"
27 android:layout_height="wrap_content"
28 android:layout_weight="0"
29 android:baselineAligned="true"
30 android:orientation="horizontal" >
33 android:layout_width="0dp"
34 android:layout_height="wrap_content"
35 android:layout_weight="1" >
38 android:id="@+id/speed_label"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:text="@string/speed_label" />
44 android:id="@+id/speed_value"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_alignParentRight="true"
48 android:layout_below="@id/speed_label"
50 android:textAppearance="?android:attr/textAppearanceSmall" />
54 android:layout_width="0dp"
55 android:layout_height="wrap_content"
56 android:layout_weight="1" >
59 android:id="@+id/height_label"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:text="@string/height_label" />
65 android:id="@+id/height_value"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:layout_alignParentRight="true"
69 android:layout_below="@id/height_label"
71 android:textAppearance="?android:attr/textAppearanceSmall" />
77 xmlns:android="http://schemas.android.com/apk/res/android"
78 android:layout_width="fill_parent"
79 android:layout_height="wrap_content"
80 android:layout_weight="0"
81 android:baselineAligned="true"
82 android:orientation="horizontal" >
85 android:layout_width="0dp"
86 android:layout_height="wrap_content"
87 android:layout_weight="1" >
90 android:id="@+id/max_speed_label"
91 android:layout_width="wrap_content"
92 android:layout_height="wrap_content"
93 android:text="@string/max_speed_label" />
96 android:id="@+id/max_speed_value"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:layout_alignParentRight="true"
100 android:layout_below="@id/max_speed_label"
102 android:textAppearance="?android:attr/textAppearanceSmall" />
106 android:layout_width="0dp"
107 android:layout_height="wrap_content"
108 android:layout_weight="1" >
111 android:id="@+id/max_height_label"
112 android:layout_width="wrap_content"
113 android:layout_height="wrap_content"
114 android:text="@string/max_height_label" />
117 android:id="@+id/max_height_value"
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:layout_alignParentRight="true"
121 android:layout_below="@id/max_height_label"
123 android:textAppearance="?android:attr/textAppearanceSmall" />
129 xmlns:android="http://schemas.android.com/apk/res/android"
130 android:layout_width="fill_parent"
131 android:layout_height="wrap_content"
132 android:layout_weight="0"
133 android:baselineAligned="true"
134 android:orientation="horizontal"
135 android:paddingTop="5dp" >
138 android:layout_width="0dp"
139 android:layout_height="wrap_content"
140 android:layout_weight="1" >
143 android:id="@+id/elevation_label"
144 android:layout_width="wrap_content"
145 android:layout_height="wrap_content"
146 android:text="@string/elevation_label" />
149 android:id="@+id/elevation_value"
150 android:layout_width="wrap_content"
151 android:layout_height="wrap_content"
152 android:layout_alignParentRight="true"
153 android:layout_below="@id/elevation_label"
155 android:textAppearance="?android:attr/textAppearanceSmall" />
159 android:layout_width="0dp"
160 android:layout_height="wrap_content"
161 android:layout_weight="1" >
164 android:id="@+id/range_label"
165 android:layout_width="wrap_content"
166 android:layout_height="wrap_content"
167 android:text="@string/range_label" />
170 android:id="@+id/range_value"
171 android:layout_width="wrap_content"
172 android:layout_height="wrap_content"
173 android:layout_alignParentRight="true"
174 android:layout_below="@id/range_label"
176 android:textAppearance="?android:attr/textAppearanceSmall" />
182 xmlns:android="http://schemas.android.com/apk/res/android"
183 android:layout_width="fill_parent"
184 android:layout_height="wrap_content"
185 android:layout_weight="0"
186 android:baselineAligned="true"
187 android:orientation="horizontal"
188 android:paddingTop="5dp" >
191 android:layout_width="0dp"
192 android:layout_height="wrap_content"
193 android:layout_weight="1" >
196 android:id="@+id/bearing_label"
197 android:layout_width="wrap_content"
198 android:layout_height="wrap_content"
199 android:text="@string/bearing_label" />
202 android:id="@+id/bearing_value"
203 android:layout_width="wrap_content"
204 android:layout_height="wrap_content"
205 android:layout_alignParentRight="true"
206 android:layout_below="@id/bearing_label"
208 android:textAppearance="?android:attr/textAppearanceSmall" />
212 android:layout_width="0dp"
213 android:layout_height="wrap_content"
214 android:layout_weight="1" >
217 android:id="@+id/compass_label"
218 android:layout_width="wrap_content"
219 android:layout_height="wrap_content"
223 android:id="@+id/compass_value"
224 android:layout_width="wrap_content"
225 android:layout_height="wrap_content"
226 android:layout_alignParentRight="true"
227 android:layout_below="@id/compass_label"
229 android:textAppearance="?android:attr/textAppearanceSmall" />
235 xmlns:android="http://schemas.android.com/apk/res/android"
236 android:layout_width="fill_parent"
237 android:layout_height="wrap_content"
238 android:layout_weight="0"
239 android:baselineAligned="true"
240 android:orientation="horizontal"
241 android:paddingTop="5dp" >
244 android:layout_width="0dp"
245 android:layout_height="wrap_content"
246 android:layout_weight="1" >
249 android:id="@+id/distance_label"
250 android:layout_width="wrap_content"
251 android:layout_height="wrap_content"
252 android:text="@string/gnd_distance_label" />
255 android:id="@+id/distance_value"
256 android:layout_width="wrap_content"
257 android:layout_height="wrap_content"
258 android:layout_alignParentRight="true"
259 android:layout_below="@id/distance_label"
261 android:textAppearance="?android:attr/textAppearanceSmall" />
265 android:layout_width="0dp"
266 android:layout_height="wrap_content"
267 android:layout_weight="1" >
273 android:layout_width="wrap_content"
274 android:layout_height="wrap_content"
275 android:paddingTop="5dp" >
278 android:id="@+id/lat_label"
279 android:layout_width="wrap_content"
280 android:layout_height="wrap_content"
281 android:text="@string/latitude_label" />
284 android:id="@+id/lat_value"
285 android:layout_width="wrap_content"
286 android:layout_height="wrap_content"
287 android:layout_alignParentRight="true"
288 android:layout_below="@id/lat_label"
290 android:textAppearance="?android:attr/textAppearanceSmall" />
294 android:layout_width="wrap_content"
295 android:layout_height="wrap_content"
296 android:paddingTop="5dp" >
299 android:id="@+id/lon_label"
300 android:layout_width="wrap_content"
301 android:layout_height="wrap_content"
302 android:text="@string/longitude_label" />
305 android:id="@+id/lon_value"
306 android:layout_width="wrap_content"
307 android:layout_height="wrap_content"
308 android:layout_alignParentRight="true"
309 android:layout_below="@id/lon_label"
311 android:textAppearance="?android:attr/textAppearanceSmall" />
315 android:layout_width="wrap_content"
316 android:layout_height="wrap_content"
317 android:paddingTop="5dp" >
320 android:visibility="gone"
321 android:id="@+id/apogee_redled"
322 android:layout_width="wrap_content"
323 android:layout_height="wrap_content"
324 android:contentDescription="@string/apogee_voltage_label"
325 android:src="@drawable/grayled" />
328 android:visibility="gone"
329 android:id="@+id/apogee_greenled"
330 android:layout_width="wrap_content"
331 android:layout_height="wrap_content"
332 android:layout_toRightOf="@id/apogee_redled"
333 android:contentDescription="@string/apogee_voltage_label"
334 android:paddingRight="5dp"
335 android:src="@drawable/grayled" />
338 android:visibility="gone"
339 android:id="@+id/apogee_voltage_label"
340 android:layout_width="wrap_content"
341 android:layout_height="wrap_content"
342 android:layout_toRightOf="@id/apogee_greenled"
343 android:text="@string/apogee_voltage_label" />
346 android:visibility="gone"
347 android:id="@+id/apogee_voltage_value"
348 android:layout_width="wrap_content"
349 android:layout_height="wrap_content"
350 android:layout_alignParentRight="true"
351 android:layout_below="@id/apogee_voltage_label"
352 android:layout_toRightOf="@id/apogee_greenled"
354 android:textAppearance="?android:attr/textAppearanceSmall" />
358 android:layout_width="wrap_content"
359 android:layout_height="wrap_content"
360 android:paddingTop="5dp" >
363 android:visibility="gone"
364 android:id="@+id/main_redled"
365 android:layout_width="wrap_content"
366 android:layout_height="wrap_content"
367 android:contentDescription="@string/main_voltage_label"
368 android:src="@drawable/grayled" />
371 android:visibility="gone"
372 android:id="@+id/main_greenled"
373 android:layout_width="wrap_content"
374 android:layout_height="wrap_content"
375 android:layout_toRightOf="@id/main_redled"
376 android:contentDescription="@string/main_voltage_label"
377 android:paddingRight="5dp"
378 android:src="@drawable/grayled" />
381 android:visibility="gone"
382 android:id="@+id/main_voltage_label"
383 android:layout_width="wrap_content"
384 android:layout_height="wrap_content"
385 android:layout_toRightOf="@id/main_greenled"
386 android:text="@string/main_voltage_label" />
389 android:visibility="gone"
390 android:id="@+id/main_voltage_value"
391 android:layout_width="wrap_content"
392 android:layout_height="wrap_content"
393 android:layout_alignParentRight="true"
394 android:layout_below="@id/main_voltage_label"
395 android:layout_toRightOf="@id/main_greenled"
397 android:textAppearance="?android:attr/textAppearanceSmall" />