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 android:layout_weight="0"
26 android:layout_width="fill_parent"
27 android:layout_height="wrap_content"
28 android:orientation="vertical" >
31 xmlns:android="http://schemas.android.com/apk/res/android"
32 android:layout_width="fill_parent"
33 android:layout_height="wrap_content"
34 android:layout_weight="0"
35 android:baselineAligned="true"
36 android:orientation="horizontal" >
39 android:layout_width="0dp"
40 android:layout_height="wrap_content"
41 android:layout_weight="1" >
44 android:id="@+id/speed_label"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:text="@string/speed_label" />
50 android:id="@+id/speed_value"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:layout_alignParentRight="true"
54 android:layout_below="@id/speed_label"
56 android:textAppearance="?android:attr/textAppearanceSmall" />
60 android:layout_width="0dp"
61 android:layout_height="wrap_content"
62 android:layout_weight="1" >
65 android:id="@+id/height_label"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:text="@string/height_label" />
71 android:id="@+id/height_value"
72 android:layout_width="wrap_content"
73 android:layout_height="wrap_content"
74 android:layout_alignParentRight="true"
75 android:layout_below="@id/height_label"
77 android:textAppearance="?android:attr/textAppearanceSmall" />
83 xmlns:android="http://schemas.android.com/apk/res/android"
84 android:layout_width="fill_parent"
85 android:layout_height="wrap_content"
86 android:layout_weight="0"
87 android:baselineAligned="true"
88 android:orientation="horizontal" >
91 android:layout_width="0dp"
92 android:layout_height="wrap_content"
93 android:layout_weight="1" >
96 android:id="@+id/max_speed_label"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:text="@string/max_speed_label" />
102 android:id="@+id/max_speed_value"
103 android:layout_width="wrap_content"
104 android:layout_height="wrap_content"
105 android:layout_alignParentRight="true"
106 android:layout_below="@id/max_speed_label"
108 android:textAppearance="?android:attr/textAppearanceSmall" />
112 android:layout_width="0dp"
113 android:layout_height="wrap_content"
114 android:layout_weight="1" >
117 android:id="@+id/max_height_label"
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:text="@string/max_height_label" />
123 android:id="@+id/max_height_value"
124 android:layout_width="wrap_content"
125 android:layout_height="wrap_content"
126 android:layout_alignParentRight="true"
127 android:layout_below="@id/max_height_label"
129 android:textAppearance="?android:attr/textAppearanceSmall" />
135 xmlns:android="http://schemas.android.com/apk/res/android"
136 android:layout_width="fill_parent"
137 android:layout_height="wrap_content"
138 android:layout_weight="0"
139 android:baselineAligned="true"
140 android:orientation="horizontal"
141 android:paddingTop="5dp" >
144 android:layout_width="0dp"
145 android:layout_height="wrap_content"
146 android:layout_weight="1" >
149 android:id="@+id/elevation_label"
150 android:layout_width="wrap_content"
151 android:layout_height="wrap_content"
152 android:text="@string/elevation_label" />
155 android:id="@+id/elevation_value"
156 android:layout_width="wrap_content"
157 android:layout_height="wrap_content"
158 android:layout_alignParentRight="true"
159 android:layout_below="@id/elevation_label"
161 android:textAppearance="?android:attr/textAppearanceSmall" />
165 android:layout_width="0dp"
166 android:layout_height="wrap_content"
167 android:layout_weight="1" >
170 android:id="@+id/range_label"
171 android:layout_width="wrap_content"
172 android:layout_height="wrap_content"
173 android:text="@string/range_label" />
176 android:id="@+id/range_value"
177 android:layout_width="wrap_content"
178 android:layout_height="wrap_content"
179 android:layout_alignParentRight="true"
180 android:layout_below="@id/range_label"
182 android:textAppearance="?android:attr/textAppearanceSmall" />
188 xmlns:android="http://schemas.android.com/apk/res/android"
189 android:layout_width="fill_parent"
190 android:layout_height="wrap_content"
191 android:layout_weight="0"
192 android:baselineAligned="true"
193 android:orientation="horizontal"
194 android:paddingTop="5dp" >
197 android:layout_width="0dp"
198 android:layout_height="wrap_content"
199 android:layout_weight="1" >
202 android:id="@+id/bearing_label"
203 android:layout_width="wrap_content"
204 android:layout_height="wrap_content"
205 android:text="@string/bearing_label" />
208 android:id="@+id/bearing_value"
209 android:layout_width="wrap_content"
210 android:layout_height="wrap_content"
211 android:layout_alignParentRight="true"
212 android:layout_below="@id/bearing_label"
214 android:textAppearance="?android:attr/textAppearanceSmall" />
218 android:layout_width="0dp"
219 android:layout_height="wrap_content"
220 android:layout_weight="1" >
223 android:id="@+id/compass_label"
224 android:layout_width="wrap_content"
225 android:layout_height="wrap_content"
229 android:id="@+id/compass_value"
230 android:layout_width="wrap_content"
231 android:layout_height="wrap_content"
232 android:layout_alignParentRight="true"
233 android:layout_below="@id/compass_label"
235 android:textAppearance="?android:attr/textAppearanceSmall" />
241 xmlns:android="http://schemas.android.com/apk/res/android"
242 android:layout_width="fill_parent"
243 android:layout_height="wrap_content"
244 android:layout_weight="0"
245 android:baselineAligned="true"
246 android:orientation="horizontal"
247 android:paddingTop="5dp" >
250 android:layout_width="0dp"
251 android:layout_height="wrap_content"
252 android:layout_weight="1" >
255 android:id="@+id/distance_label"
256 android:layout_width="wrap_content"
257 android:layout_height="wrap_content"
258 android:text="@string/gnd_distance_label" />
261 android:id="@+id/distance_value"
262 android:layout_width="wrap_content"
263 android:layout_height="wrap_content"
264 android:layout_alignParentRight="true"
265 android:layout_below="@id/distance_label"
267 android:textAppearance="?android:attr/textAppearanceSmall" />
271 android:layout_width="0dp"
272 android:layout_height="wrap_content"
273 android:layout_weight="1" >
279 android:layout_width="wrap_content"
280 android:layout_height="wrap_content"
281 android:paddingTop="5dp" >
284 android:id="@+id/lat_label"
285 android:layout_width="wrap_content"
286 android:layout_height="wrap_content"
287 android:text="@string/latitude_label" />
290 android:id="@+id/lat_value"
291 android:layout_width="wrap_content"
292 android:layout_height="wrap_content"
293 android:layout_alignParentRight="true"
294 android:layout_below="@id/lat_label"
296 android:textAppearance="?android:attr/textAppearanceSmall" />
300 android:layout_width="wrap_content"
301 android:layout_height="wrap_content"
302 android:paddingTop="5dp" >
305 android:id="@+id/lon_label"
306 android:layout_width="wrap_content"
307 android:layout_height="wrap_content"
308 android:text="@string/longitude_label" />
311 android:id="@+id/lon_value"
312 android:layout_width="wrap_content"
313 android:layout_height="wrap_content"
314 android:layout_alignParentRight="true"
315 android:layout_below="@id/lon_label"
317 android:textAppearance="?android:attr/textAppearanceSmall" />
321 android:id="@+id/apogee_view"
322 android:visibility="gone"
323 android:layout_gravity="fill"
324 android:layout_weight="1"
325 android:layout_width="wrap_content"
326 android:layout_height="wrap_content"
327 android:paddingTop="5dp" >
330 android:id="@+id/apogee_redled"
331 android:layout_width="wrap_content"
332 android:layout_height="wrap_content"
333 android:contentDescription="@string/apogee_voltage_label"
334 android:src="@drawable/grayled" />
337 android:id="@+id/apogee_greenled"
338 android:layout_width="wrap_content"
339 android:layout_height="wrap_content"
340 android:layout_toRightOf="@id/apogee_redled"
341 android:contentDescription="@string/apogee_voltage_label"
342 android:paddingRight="5dp"
343 android:src="@drawable/grayled" />
346 android:id="@+id/apogee_voltage_label"
347 android:layout_width="wrap_content"
348 android:layout_height="wrap_content"
349 android:layout_toRightOf="@id/apogee_greenled"
350 android:text="@string/apogee_voltage_label" />
353 android:id="@+id/apogee_voltage_value"
354 android:layout_width="wrap_content"
355 android:layout_height="wrap_content"
356 android:layout_alignParentRight="true"
358 android:textAppearance="?android:attr/textAppearanceSmall" />
362 android:id="@+id/main_view"
363 android:visibility="gone"
364 android:layout_gravity="fill"
365 android:layout_weight="1"
366 android:layout_width="wrap_content"
367 android:layout_height="wrap_content"
368 android:paddingTop="5dp" >
371 android:id="@+id/main_redled"
372 android:layout_width="wrap_content"
373 android:layout_height="wrap_content"
374 android:contentDescription="@string/main_voltage_label"
375 android:src="@drawable/grayled" />
378 android:id="@+id/main_greenled"
379 android:layout_width="wrap_content"
380 android:layout_height="wrap_content"
381 android:layout_toRightOf="@id/main_redled"
382 android:contentDescription="@string/main_voltage_label"
383 android:paddingRight="5dp"
384 android:src="@drawable/grayled" />
387 android:id="@+id/main_voltage_label"
388 android:layout_width="wrap_content"
389 android:layout_height="wrap_content"
390 android:layout_toRightOf="@id/main_greenled"
391 android:text="@string/main_voltage_label" />
394 android:id="@+id/main_voltage_value"
395 android:layout_width="wrap_content"
396 android:layout_height="wrap_content"
397 android:layout_alignParentRight="true"
399 android:textAppearance="?android:attr/textAppearanceSmall" />