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.
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="fill_parent"
20 android:layout_height="wrap_content"
21 android:orientation="vertical" >
24 xmlns:android="http://schemas.android.com/apk/res/android"
25 android:layout_width="fill_parent"
26 android:layout_height="wrap_content"
27 android:layout_weight="0"
28 android:baselineAligned="true"
29 android:orientation="horizontal" >
32 android:layout_width="0dp"
33 android:layout_height="wrap_content"
34 android:layout_weight="1" >
37 android:id="@+id/speed_label"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:text="@string/speed_label" />
43 android:id="@+id/speed_value"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_alignParentRight="true"
47 android:layout_below="@id/speed_label"
49 android:textAppearance="?android:attr/textAppearanceSmall" />
53 android:layout_width="0dp"
54 android:layout_height="wrap_content"
55 android:layout_weight="1" >
58 android:id="@+id/height_label"
59 android:layout_width="wrap_content"
60 android:layout_height="wrap_content"
61 android:text="@string/height_label" />
64 android:id="@+id/height_value"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:layout_alignParentRight="true"
68 android:layout_below="@id/height_label"
70 android:textAppearance="?android:attr/textAppearanceSmall" />
76 xmlns:android="http://schemas.android.com/apk/res/android"
77 android:layout_width="fill_parent"
78 android:layout_height="wrap_content"
79 android:layout_weight="0"
80 android:baselineAligned="true"
81 android:orientation="horizontal" >
84 android:layout_width="0dp"
85 android:layout_height="wrap_content"
86 android:layout_weight="1" >
89 android:id="@+id/max_speed_label"
90 android:layout_width="wrap_content"
91 android:layout_height="wrap_content"
92 android:text="@string/max_speed_label" />
95 android:id="@+id/max_speed_value"
96 android:layout_width="wrap_content"
97 android:layout_height="wrap_content"
98 android:layout_alignParentRight="true"
99 android:layout_below="@id/max_speed_label"
101 android:textAppearance="?android:attr/textAppearanceSmall" />
105 android:layout_width="0dp"
106 android:layout_height="wrap_content"
107 android:layout_weight="1" >
110 android:id="@+id/max_height_label"
111 android:layout_width="wrap_content"
112 android:layout_height="wrap_content"
113 android:text="@string/max_height_label" />
116 android:id="@+id/max_height_value"
117 android:layout_width="wrap_content"
118 android:layout_height="wrap_content"
119 android:layout_alignParentRight="true"
120 android:layout_below="@id/max_height_label"
122 android:textAppearance="?android:attr/textAppearanceSmall" />
128 xmlns:android="http://schemas.android.com/apk/res/android"
129 android:layout_width="fill_parent"
130 android:layout_height="wrap_content"
131 android:layout_weight="0"
132 android:baselineAligned="true"
133 android:orientation="horizontal"
134 android:paddingTop="5dp" >
137 android:layout_width="0dp"
138 android:layout_height="wrap_content"
139 android:layout_weight="1" >
142 android:id="@+id/elevation_label"
143 android:layout_width="wrap_content"
144 android:layout_height="wrap_content"
145 android:text="@string/elevation_label" />
148 android:id="@+id/elevation_value"
149 android:layout_width="wrap_content"
150 android:layout_height="wrap_content"
151 android:layout_alignParentRight="true"
152 android:layout_below="@id/elevation_label"
154 android:textAppearance="?android:attr/textAppearanceSmall" />
158 android:layout_width="0dp"
159 android:layout_height="wrap_content"
160 android:layout_weight="1" >
163 android:id="@+id/range_label"
164 android:layout_width="wrap_content"
165 android:layout_height="wrap_content"
166 android:text="@string/range_label" />
169 android:id="@+id/range_value"
170 android:layout_width="wrap_content"
171 android:layout_height="wrap_content"
172 android:layout_alignParentRight="true"
173 android:layout_below="@id/range_label"
175 android:textAppearance="?android:attr/textAppearanceSmall" />
181 xmlns:android="http://schemas.android.com/apk/res/android"
182 android:layout_width="fill_parent"
183 android:layout_height="wrap_content"
184 android:layout_weight="0"
185 android:baselineAligned="true"
186 android:orientation="horizontal"
187 android:paddingTop="5dp" >
190 android:layout_width="0dp"
191 android:layout_height="wrap_content"
192 android:layout_weight="1" >
195 android:id="@+id/bearing_label"
196 android:layout_width="wrap_content"
197 android:layout_height="wrap_content"
198 android:text="@string/bearing_label" />
201 android:id="@+id/bearing_value"
202 android:layout_width="wrap_content"
203 android:layout_height="wrap_content"
204 android:layout_alignParentRight="true"
205 android:layout_below="@id/bearing_label"
207 android:textAppearance="?android:attr/textAppearanceSmall" />
211 android:layout_width="0dp"
212 android:layout_height="wrap_content"
213 android:layout_weight="1" >
216 android:id="@+id/compass_label"
217 android:layout_width="wrap_content"
218 android:layout_height="wrap_content"
222 android:id="@+id/compass_value"
223 android:layout_width="wrap_content"
224 android:layout_height="wrap_content"
225 android:layout_alignParentRight="true"
226 android:layout_below="@id/compass_label"
228 android:textAppearance="?android:attr/textAppearanceSmall" />
234 xmlns:android="http://schemas.android.com/apk/res/android"
235 android:layout_width="fill_parent"
236 android:layout_height="wrap_content"
237 android:layout_weight="0"
238 android:baselineAligned="true"
239 android:orientation="horizontal"
240 android:paddingTop="5dp" >
243 android:layout_width="0dp"
244 android:layout_height="wrap_content"
245 android:layout_weight="1" >
248 android:id="@+id/distance_label"
249 android:layout_width="wrap_content"
250 android:layout_height="wrap_content"
251 android:text="@string/gnd_distance_label" />
254 android:id="@+id/distance_value"
255 android:layout_width="wrap_content"
256 android:layout_height="wrap_content"
257 android:layout_alignParentRight="true"
258 android:layout_below="@id/distance_label"
260 android:textAppearance="?android:attr/textAppearanceSmall" />
264 android:layout_width="0dp"
265 android:layout_height="wrap_content"
266 android:layout_weight="1" >
272 android:layout_width="wrap_content"
273 android:layout_height="wrap_content"
274 android:paddingTop="5dp" >
277 android:id="@+id/lat_label"
278 android:layout_width="wrap_content"
279 android:layout_height="wrap_content"
280 android:text="@string/latitude_label" />
283 android:id="@+id/lat_value"
284 android:layout_width="wrap_content"
285 android:layout_height="wrap_content"
286 android:layout_alignParentRight="true"
287 android:layout_below="@id/lat_label"
289 android:textAppearance="?android:attr/textAppearanceSmall" />
293 android:layout_width="wrap_content"
294 android:layout_height="wrap_content"
295 android:paddingTop="5dp" >
298 android:id="@+id/lon_label"
299 android:layout_width="wrap_content"
300 android:layout_height="wrap_content"
301 android:text="@string/longitude_label" />
304 android:id="@+id/lon_value"
305 android:layout_width="wrap_content"
306 android:layout_height="wrap_content"
307 android:layout_alignParentRight="true"
308 android:layout_below="@id/lon_label"
310 android:textAppearance="?android:attr/textAppearanceSmall" />
314 android:layout_width="wrap_content"
315 android:layout_height="wrap_content"
316 android:paddingTop="5dp" >
319 android:id="@+id/apogee_redled"
320 android:layout_width="wrap_content"
321 android:layout_height="wrap_content"
322 android:contentDescription="@string/apogee_voltage_label"
323 android:src="@drawable/grayled" />
326 android:id="@+id/apogee_greenled"
327 android:layout_width="wrap_content"
328 android:layout_height="wrap_content"
329 android:layout_toRightOf="@id/apogee_redled"
330 android:contentDescription="@string/apogee_voltage_label"
331 android:paddingRight="5dp"
332 android:src="@drawable/grayled" />
335 android:id="@+id/apogee_voltage_label"
336 android:layout_width="wrap_content"
337 android:layout_height="wrap_content"
338 android:layout_toRightOf="@id/apogee_greenled"
339 android:text="@string/apogee_voltage_label" />
342 android:id="@+id/apogee_voltage_value"
343 android:layout_width="wrap_content"
344 android:layout_height="wrap_content"
345 android:layout_alignParentRight="true"
346 android:layout_below="@id/apogee_voltage_label"
347 android:layout_toRightOf="@id/apogee_greenled"
349 android:textAppearance="?android:attr/textAppearanceSmall" />
353 android:layout_width="wrap_content"
354 android:layout_height="wrap_content"
355 android:paddingTop="5dp" >
358 android:id="@+id/main_redled"
359 android:layout_width="wrap_content"
360 android:layout_height="wrap_content"
361 android:contentDescription="@string/main_voltage_label"
362 android:src="@drawable/grayled" />
365 android:id="@+id/main_greenled"
366 android:layout_width="wrap_content"
367 android:layout_height="wrap_content"
368 android:layout_toRightOf="@id/main_redled"
369 android:contentDescription="@string/main_voltage_label"
370 android:paddingRight="5dp"
371 android:src="@drawable/grayled" />
374 android:id="@+id/main_voltage_label"
375 android:layout_width="wrap_content"
376 android:layout_height="wrap_content"
377 android:layout_toRightOf="@id/main_greenled"
378 android:text="@string/main_voltage_label" />
381 android:id="@+id/main_voltage_value"
382 android:layout_width="wrap_content"
383 android:layout_height="wrap_content"
384 android:layout_alignParentRight="true"
385 android:layout_below="@id/main_voltage_label"
386 android:layout_toRightOf="@id/main_greenled"
388 android:textAppearance="?android:attr/textAppearanceSmall" />