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"
64 android:paddingTop="5dp" >
67 android:id="@+id/apogee_redled"
68 android:layout_width="wrap_content"
69 android:layout_height="wrap_content"
70 android:contentDescription="@string/apogee_voltage_label"
71 android:src="@drawable/grayled" />
74 android:id="@+id/apogee_greenled"
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
77 android:layout_toRightOf="@id/apogee_redled"
78 android:contentDescription="@string/apogee_voltage_label"
79 android:paddingRight="5dp"
80 android:src="@drawable/grayled" />
83 android:id="@+id/apogee_voltage_label"
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:layout_toRightOf="@id/apogee_greenled"
87 android:text="@string/apogee_voltage_label" />
90 android:id="@+id/apogee_voltage_value"
91 android:layout_width="wrap_content"
92 android:layout_height="wrap_content"
93 android:layout_below="@id/apogee_voltage_label"
94 android:layout_toRightOf="@id/apogee_greenled"
96 android:textAppearance="?android:attr/textAppearanceSmall" />
100 android:layout_width="wrap_content"
101 android:layout_height="wrap_content"
102 android:paddingTop="5dp" >
105 android:id="@+id/main_redled"
106 android:layout_width="wrap_content"
107 android:layout_height="wrap_content"
108 android:contentDescription="@string/main_voltage_label"
109 android:src="@drawable/grayled" />
112 android:id="@+id/main_greenled"
113 android:layout_width="wrap_content"
114 android:layout_height="wrap_content"
115 android:layout_toRightOf="@id/main_redled"
116 android:contentDescription="@string/main_voltage_label"
117 android:paddingRight="5dp"
118 android:src="@drawable/grayled" />
121 android:id="@+id/main_voltage_label"
122 android:layout_width="wrap_content"
123 android:layout_height="wrap_content"
124 android:layout_toRightOf="@id/main_greenled"
125 android:text="@string/main_voltage_label" />
128 android:id="@+id/main_voltage_value"
129 android:layout_width="wrap_content"
130 android:layout_height="wrap_content"
131 android:layout_below="@id/main_voltage_label"
132 android:layout_toRightOf="@id/main_greenled"
134 android:textAppearance="?android:attr/textAppearanceSmall" />
138 android:layout_width="wrap_content"
139 android:layout_height="wrap_content"
140 android:paddingTop="5dp" >
143 android:id="@+id/logging_redled"
144 android:layout_width="wrap_content"
145 android:layout_height="wrap_content"
146 android:contentDescription="@string/logging_label"
147 android:src="@drawable/grayled" />
150 android:id="@+id/logging_greenled"
151 android:layout_width="wrap_content"
152 android:layout_height="wrap_content"
153 android:layout_toRightOf="@id/logging_redled"
154 android:contentDescription="@string/logging_label"
155 android:paddingRight="5dp"
156 android:src="@drawable/grayled" />
159 android:id="@+id/logging_label"
160 android:layout_width="wrap_content"
161 android:layout_height="wrap_content"
162 android:layout_toRightOf="@id/logging_greenled"
163 android:text="@string/logging_label" />
166 android:id="@+id/logging_value"
167 android:layout_width="wrap_content"
168 android:layout_height="wrap_content"
169 android:layout_below="@id/logging_label"
170 android:layout_toRightOf="@id/logging_greenled"
172 android:textAppearance="?android:attr/textAppearanceSmall" />
176 android:layout_width="wrap_content"
177 android:layout_height="wrap_content"
178 android:paddingTop="5dp" >
181 android:id="@+id/gps_locked_redled"
182 android:layout_width="wrap_content"
183 android:layout_height="wrap_content"
184 android:contentDescription="@string/gps_locked_label"
185 android:src="@drawable/grayled" />
188 android:id="@+id/gps_locked_greenled"
189 android:layout_width="wrap_content"
190 android:layout_height="wrap_content"
191 android:layout_toRightOf="@id/gps_locked_redled"
192 android:contentDescription="@string/gps_locked_label"
193 android:paddingRight="5dp"
194 android:src="@drawable/grayled" />
197 android:id="@+id/gps_locked_label"
198 android:layout_width="wrap_content"
199 android:layout_height="wrap_content"
200 android:layout_toRightOf="@id/gps_locked_greenled"
201 android:text="@string/gps_locked_label" />
204 android:id="@+id/gps_locked_value"
205 android:layout_width="wrap_content"
206 android:layout_height="wrap_content"
207 android:layout_below="@id/gps_locked_label"
208 android:layout_toRightOf="@id/gps_locked_greenled"
210 android:textAppearance="?android:attr/textAppearanceSmall" />
214 android:layout_width="wrap_content"
215 android:layout_height="wrap_content"
216 android:paddingTop="5dp" >
219 android:id="@+id/gps_ready_redled"
220 android:layout_width="wrap_content"
221 android:layout_height="wrap_content"
222 android:contentDescription="@string/gps_ready_label"
223 android:src="@drawable/grayled" />
226 android:id="@+id/gps_ready_greenled"
227 android:layout_width="wrap_content"
228 android:layout_height="wrap_content"
229 android:layout_toRightOf="@id/gps_ready_redled"
230 android:contentDescription="@string/gps_ready_label"
231 android:paddingRight="5dp"
232 android:src="@drawable/grayled" />
235 android:id="@+id/gps_ready_label"
236 android:layout_width="wrap_content"
237 android:layout_height="wrap_content"
238 android:layout_toRightOf="@id/gps_ready_greenled"
239 android:text="@string/gps_ready_label" />
242 android:id="@+id/gps_ready_value"
243 android:layout_width="wrap_content"
244 android:layout_height="wrap_content"
245 android:layout_below="@id/gps_ready_label"
246 android:layout_toRightOf="@id/gps_ready_greenled"
248 android:textAppearance="?android:attr/textAppearanceSmall" />
252 android:layout_width="wrap_content"
253 android:layout_height="wrap_content"
254 android:paddingLeft="69dp"
255 android:paddingTop="5dp" >
258 android:id="@+id/pad_lat_label"
259 android:layout_width="wrap_content"
260 android:layout_height="wrap_content"
261 android.paddingRight="4dp"
262 android:layout_toRightOf="@id/gps_ready_greenled"
263 android:text="@string/pad_lat_label" />
266 android:id="@+id/pad_lat_value"
267 android:layout_width="wrap_content"
268 android:layout_height="wrap_content"
269 android:layout_toRightOf="@id/pad_lat_label"
271 android:textAppearance="?android:attr/textAppearanceSmall" />
275 android:layout_width="wrap_content"
276 android:layout_height="wrap_content"
277 android:paddingLeft="69dp"
278 android:paddingTop="5dp" >
281 android:id="@+id/pad_lon_label"
282 android:layout_width="wrap_content"
283 android:layout_height="wrap_content"
284 android.paddingRight="4dp"
285 android:layout_toRightOf="@id/gps_ready_greenled"
286 android:text="@string/pad_lon_label" />
289 android:id="@+id/pad_lon_value"
290 android:layout_width="wrap_content"
291 android:layout_height="wrap_content"
292 android:layout_toRightOf="@id/pad_lon_label"
294 android:textAppearance="?android:attr/textAppearanceSmall" />
298 android:layout_width="wrap_content"
299 android:layout_height="wrap_content"
300 android:paddingLeft="69dp"
301 android:paddingTop="5dp" >
304 android:id="@+id/pad_alt_label"
305 android:layout_width="wrap_content"
306 android:layout_height="wrap_content"
307 android.paddingRight="4dp"
308 android:layout_toRightOf="@id/gps_ready_greenled"
309 android:text="@string/pad_alt_label" />
312 android:id="@+id/pad_alt_value"
313 android:layout_width="wrap_content"
314 android:layout_height="wrap_content"
315 android:layout_toRightOf="@id/pad_alt_label"
317 android:textAppearance="?android:attr/textAppearanceSmall" />