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:layout_weight="0"
22 android:orientation="vertical" >
25 android:layout_width="wrap_content"
26 android:layout_height="wrap_content" >
29 android:id="@+id/battery_redled"
30 android:layout_width="wrap_content"
31 android:layout_height="wrap_content"
32 android:contentDescription="@string/battery_voltage_label"
33 android:src="@drawable/grayled" />
36 android:id="@+id/battery_greenled"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content"
39 android:layout_toRightOf="@id/battery_redled"
40 android:contentDescription="@string/battery_voltage_label"
41 android:paddingRight="5dp"
42 android:src="@drawable/grayled" />
45 android:id="@+id/battery_voltage_label"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_toRightOf="@id/battery_greenled"
49 android:text="@string/battery_voltage_label" />
52 android:id="@+id/battery_voltage_value"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_below="@id/battery_voltage_label"
56 android:layout_toRightOf="@id/battery_greenled"
58 android:textAppearance="?android:attr/textAppearanceSmall" />
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content" >
66 android:id="@+id/receiver_redled"
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
69 android:contentDescription="@string/receiver_voltage_label"
70 android:src="@drawable/grayled" />
73 android:id="@+id/receiver_greenled"
74 android:layout_width="wrap_content"
75 android:layout_height="wrap_content"
76 android:layout_toRightOf="@id/receiver_redled"
77 android:contentDescription="@string/receiver_voltage_label"
78 android:paddingRight="5dp"
79 android:src="@drawable/grayled" />
82 android:id="@+id/receiver_voltage_label"
83 android:layout_width="wrap_content"
84 android:layout_height="wrap_content"
85 android:layout_toRightOf="@id/receiver_greenled"
86 android:text="@string/receiver_voltage_label" />
89 android:id="@+id/receiver_voltage_value"
90 android:layout_width="wrap_content"
91 android:layout_height="wrap_content"
92 android:layout_below="@id/receiver_voltage_label"
93 android:layout_toRightOf="@id/receiver_greenled"
95 android:textAppearance="?android:attr/textAppearanceSmall" />
99 android:layout_width="wrap_content"
100 android:layout_height="wrap_content"
101 android:paddingTop="5dp" >
104 android:id="@+id/apogee_redled"
105 android:layout_width="wrap_content"
106 android:layout_height="wrap_content"
107 android:contentDescription="@string/apogee_voltage_label"
108 android:src="@drawable/grayled" />
111 android:id="@+id/apogee_greenled"
112 android:layout_width="wrap_content"
113 android:layout_height="wrap_content"
114 android:layout_toRightOf="@id/apogee_redled"
115 android:contentDescription="@string/apogee_voltage_label"
116 android:paddingRight="5dp"
117 android:src="@drawable/grayled" />
120 android:id="@+id/apogee_voltage_label"
121 android:layout_width="wrap_content"
122 android:layout_height="wrap_content"
123 android:layout_toRightOf="@id/apogee_greenled"
124 android:text="@string/apogee_voltage_label" />
127 android:id="@+id/apogee_voltage_value"
128 android:layout_width="wrap_content"
129 android:layout_height="wrap_content"
130 android:layout_below="@id/apogee_voltage_label"
131 android:layout_toRightOf="@id/apogee_greenled"
133 android:textAppearance="?android:attr/textAppearanceSmall" />
137 android:layout_width="wrap_content"
138 android:layout_height="wrap_content"
139 android:paddingTop="5dp" >
142 android:id="@+id/main_redled"
143 android:layout_width="wrap_content"
144 android:layout_height="wrap_content"
145 android:contentDescription="@string/main_voltage_label"
146 android:src="@drawable/grayled" />
149 android:id="@+id/main_greenled"
150 android:layout_width="wrap_content"
151 android:layout_height="wrap_content"
152 android:layout_toRightOf="@id/main_redled"
153 android:contentDescription="@string/main_voltage_label"
154 android:paddingRight="5dp"
155 android:src="@drawable/grayled" />
158 android:id="@+id/main_voltage_label"
159 android:layout_width="wrap_content"
160 android:layout_height="wrap_content"
161 android:layout_toRightOf="@id/main_greenled"
162 android:text="@string/main_voltage_label" />
165 android:id="@+id/main_voltage_value"
166 android:layout_width="wrap_content"
167 android:layout_height="wrap_content"
168 android:layout_below="@id/main_voltage_label"
169 android:layout_toRightOf="@id/main_greenled"
171 android:textAppearance="?android:attr/textAppearanceSmall" />
175 android:layout_width="wrap_content"
176 android:layout_height="wrap_content"
177 android:paddingTop="5dp" >
180 android:id="@+id/logging_redled"
181 android:layout_width="wrap_content"
182 android:layout_height="wrap_content"
183 android:contentDescription="@string/logging_label"
184 android:src="@drawable/grayled" />
187 android:id="@+id/logging_greenled"
188 android:layout_width="wrap_content"
189 android:layout_height="wrap_content"
190 android:layout_toRightOf="@id/logging_redled"
191 android:contentDescription="@string/logging_label"
192 android:paddingRight="5dp"
193 android:src="@drawable/grayled" />
196 android:id="@+id/logging_label"
197 android:layout_width="wrap_content"
198 android:layout_height="wrap_content"
199 android:layout_toRightOf="@id/logging_greenled"
200 android:text="@string/logging_label" />
203 android:id="@+id/logging_value"
204 android:layout_width="wrap_content"
205 android:layout_height="wrap_content"
206 android:layout_below="@id/logging_label"
207 android:layout_toRightOf="@id/logging_greenled"
209 android:textAppearance="?android:attr/textAppearanceSmall" />
213 android:layout_width="wrap_content"
214 android:layout_height="wrap_content"
215 android:paddingTop="5dp" >
218 android:id="@+id/gps_locked_redled"
219 android:layout_width="wrap_content"
220 android:layout_height="wrap_content"
221 android:contentDescription="@string/gps_locked_label"
222 android:src="@drawable/grayled" />
225 android:id="@+id/gps_locked_greenled"
226 android:layout_width="wrap_content"
227 android:layout_height="wrap_content"
228 android:layout_toRightOf="@id/gps_locked_redled"
229 android:contentDescription="@string/gps_locked_label"
230 android:paddingRight="5dp"
231 android:src="@drawable/grayled" />
234 android:id="@+id/gps_locked_label"
235 android:layout_width="wrap_content"
236 android:layout_height="wrap_content"
237 android:layout_toRightOf="@id/gps_locked_greenled"
238 android:text="@string/gps_locked_label" />
241 android:id="@+id/gps_locked_value"
242 android:layout_width="wrap_content"
243 android:layout_height="wrap_content"
244 android:layout_below="@id/gps_locked_label"
245 android:layout_toRightOf="@id/gps_locked_greenled"
247 android:textAppearance="?android:attr/textAppearanceSmall" />
251 android:layout_width="wrap_content"
252 android:layout_height="wrap_content"
253 android:paddingTop="5dp" >
256 android:id="@+id/gps_ready_redled"
257 android:layout_width="wrap_content"
258 android:layout_height="wrap_content"
259 android:contentDescription="@string/gps_ready_label"
260 android:src="@drawable/grayled" />
263 android:id="@+id/gps_ready_greenled"
264 android:layout_width="wrap_content"
265 android:layout_height="wrap_content"
266 android:layout_toRightOf="@id/gps_ready_redled"
267 android:contentDescription="@string/gps_ready_label"
268 android:paddingRight="5dp"
269 android:src="@drawable/grayled" />
272 android:id="@+id/gps_ready_label"
273 android:layout_width="wrap_content"
274 android:layout_height="wrap_content"
275 android:layout_toRightOf="@id/gps_ready_greenled"
276 android:text="@string/gps_ready_label" />
279 android:id="@+id/gps_ready_value"
280 android:layout_width="wrap_content"
281 android:layout_height="wrap_content"
282 android:layout_below="@id/gps_ready_label"
283 android:layout_toRightOf="@id/gps_ready_greenled"
285 android:textAppearance="?android:attr/textAppearanceSmall" />
289 android:layout_width="wrap_content"
290 android:layout_height="wrap_content"
291 android:paddingLeft="69dp">
294 android:id="@+id/pad_lat_label"
295 android:layout_width="wrap_content"
296 android:layout_height="wrap_content"
297 android:width="100sp"
298 android:paddingRight="10sp"
299 android:layout_toRightOf="@id/gps_ready_greenled"
300 android:text="@string/pad_lat_label" />
303 android:id="@+id/pad_lat_value"
304 android:layout_width="wrap_content"
305 android:layout_height="wrap_content"
306 android:layout_toRightOf="@id/pad_lat_label"
308 android:textAppearance="?android:attr/textAppearanceSmall" />
312 android:layout_width="wrap_content"
313 android:layout_height="wrap_content"
314 android:paddingLeft="69dp">
317 android:id="@+id/pad_lon_label"
318 android:layout_width="wrap_content"
319 android:layout_height="wrap_content"
320 android:width="100sp"
321 android:paddingRight="10sp"
322 android:layout_toRightOf="@id/gps_ready_greenled"
323 android:text="@string/pad_lon_label" />
326 android:id="@+id/pad_lon_value"
327 android:layout_width="wrap_content"
328 android:layout_height="wrap_content"
329 android:layout_toRightOf="@id/pad_lon_label"
331 android:textAppearance="?android:attr/textAppearanceSmall" />
335 android:layout_width="wrap_content"
336 android:layout_height="wrap_content"
337 android:paddingLeft="69dp">
340 android:id="@+id/pad_alt_label"
341 android:layout_width="wrap_content"
342 android:layout_height="wrap_content"
343 android:width="100sp"
344 android:paddingRight="10sp"
345 android:layout_toRightOf="@id/gps_ready_greenled"
346 android:text="@string/pad_alt_label" />
349 android:id="@+id/pad_alt_value"
350 android:layout_width="wrap_content"
351 android:layout_height="wrap_content"
352 android:layout_toRightOf="@id/pad_alt_label"
354 android:textAppearance="?android:attr/textAppearanceSmall" />