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"
82 android:paddingTop="5dp" >
85 android:layout_width="0dp"
86 android:layout_height="wrap_content"
87 android:layout_weight="1" >
90 android:id="@+id/elevation_label"
91 android:layout_width="wrap_content"
92 android:layout_height="wrap_content"
93 android:text="@string/elevation_label" />
96 android:id="@+id/elevation_value"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:layout_alignParentRight="true"
100 android:layout_below="@id/elevation_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/range_label"
112 android:layout_width="wrap_content"
113 android:layout_height="wrap_content"
114 android:text="@string/range_label" />
117 android:id="@+id/range_value"
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:layout_alignParentRight="true"
121 android:layout_below="@id/range_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/bearing_label"
144 android:layout_width="wrap_content"
145 android:layout_height="wrap_content"
146 android:text="@string/bearing_label" />
149 android:id="@+id/bearing_value"
150 android:layout_width="wrap_content"
151 android:layout_height="wrap_content"
152 android:layout_alignParentRight="true"
153 android:layout_below="@id/bearing_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/compass_label"
165 android:layout_width="wrap_content"
166 android:layout_height="wrap_content"
170 android:id="@+id/compass_value"
171 android:layout_width="wrap_content"
172 android:layout_height="wrap_content"
173 android:layout_alignParentRight="true"
174 android:layout_below="@id/compass_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/distance_label"
197 android:layout_width="wrap_content"
198 android:layout_height="wrap_content"
199 android:text="@string/gnd_distance_label" />
202 android:id="@+id/distance_value"
203 android:layout_width="wrap_content"
204 android:layout_height="wrap_content"
205 android:layout_alignParentRight="true"
206 android:layout_below="@id/distance_label"
208 android:textAppearance="?android:attr/textAppearanceSmall" />
212 android:layout_width="0dp"
213 android:layout_height="wrap_content"
214 android:layout_weight="1" >
220 android:layout_width="wrap_content"
221 android:layout_height="wrap_content"
222 android:paddingTop="5dp" >
225 android:id="@+id/lat_label"
226 android:layout_width="wrap_content"
227 android:layout_height="wrap_content"
228 android:text="@string/latitude_label" />
231 android:id="@+id/lat_value"
232 android:layout_width="wrap_content"
233 android:layout_height="wrap_content"
234 android:layout_alignParentRight="true"
235 android:layout_below="@id/lat_label"
237 android:textAppearance="?android:attr/textAppearanceSmall" />
241 android:layout_width="wrap_content"
242 android:layout_height="wrap_content"
243 android:paddingTop="5dp" >
246 android:id="@+id/lon_label"
247 android:layout_width="wrap_content"
248 android:layout_height="wrap_content"
249 android:text="@string/longitude_label" />
252 android:id="@+id/lon_value"
253 android:layout_width="wrap_content"
254 android:layout_height="wrap_content"
255 android:layout_alignParentRight="true"
256 android:layout_below="@id/lon_label"
258 android:textAppearance="?android:attr/textAppearanceSmall" />
262 android:layout_width="wrap_content"
263 android:layout_height="wrap_content"
264 android:paddingTop="5dp" >
267 android:id="@+id/apogee_redled"
268 android:layout_width="wrap_content"
269 android:layout_height="wrap_content"
270 android:contentDescription="@string/apogee_voltage_label"
271 android:src="@drawable/grayled" />
274 android:id="@+id/apogee_greenled"
275 android:layout_width="wrap_content"
276 android:layout_height="wrap_content"
277 android:layout_toRightOf="@id/apogee_redled"
278 android:contentDescription="@string/apogee_voltage_label"
279 android:paddingRight="5dp"
280 android:src="@drawable/grayled" />
283 android:id="@+id/apogee_voltage_label"
284 android:layout_width="wrap_content"
285 android:layout_height="wrap_content"
286 android:layout_toRightOf="@id/apogee_greenled"
287 android:text="@string/apogee_voltage_label" />
290 android:id="@+id/apogee_voltage_value"
291 android:layout_width="wrap_content"
292 android:layout_height="wrap_content"
293 android:layout_alignParentRight="true"
294 android:layout_below="@id/apogee_voltage_label"
295 android:layout_toRightOf="@id/apogee_greenled"
297 android:textAppearance="?android:attr/textAppearanceSmall" />
301 android:layout_width="wrap_content"
302 android:layout_height="wrap_content"
303 android:paddingTop="5dp" >
306 android:id="@+id/main_redled"
307 android:layout_width="wrap_content"
308 android:layout_height="wrap_content"
309 android:contentDescription="@string/main_voltage_label"
310 android:src="@drawable/grayled" />
313 android:id="@+id/main_greenled"
314 android:layout_width="wrap_content"
315 android:layout_height="wrap_content"
316 android:layout_toRightOf="@id/main_redled"
317 android:contentDescription="@string/main_voltage_label"
318 android:paddingRight="5dp"
319 android:src="@drawable/grayled" />
322 android:id="@+id/main_voltage_label"
323 android:layout_width="wrap_content"
324 android:layout_height="wrap_content"
325 android:layout_toRightOf="@id/main_greenled"
326 android:text="@string/main_voltage_label" />
329 android:id="@+id/main_voltage_value"
330 android:layout_width="wrap_content"
331 android:layout_height="wrap_content"
332 android:layout_alignParentRight="true"
333 android:layout_below="@id/main_voltage_label"
334 android:layout_toRightOf="@id/main_greenled"
336 android:textAppearance="?android:attr/textAppearanceSmall" />