Move java source, and resources to new paths for gradle
[fw/altos] / altosdroid / app / src / main / res / layout / tab_pad.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright © 2013 Mike Beattie <mike@ethernal.org>
4
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; either version 2 of the License, or
8     (at your option) any later version.
9
10      This program is distributed in the hope that it will be useful, but
11      WITHOUT ANY WARRANTY; without even the implied warranty of
12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13      General Public License for more details.
14
15      You should have received a copy of the GNU General Public License along
16      with this program; if not, write to the Free Software Foundation, Inc.,
17      59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
18 -->
19
20 <LinearLayout
21     xmlns:android="http://schemas.android.com/apk/res/android"
22     android:layout_width="wrap_content"
23     android:layout_height="wrap_content">
24
25   <TableLayout
26       xmlns:android="http://schemas.android.com/apk/res/android"
27       android:stretchColumns="2,3"
28       android:layout_weight="0"
29       android:layout_width="wrap_content"
30       android:layout_height="wrap_content">
31
32     <TableRow
33         android:layout_gravity="center"
34         android:layout_weight="1"
35         android:padding="2dip"
36         android:layout_width="wrap_content"
37         android:layout_height="wrap_content">
38       
39       <ImageView
40           android:id="@+id/battery_redled"
41           android:layout_width="wrap_content"
42           android:layout_height="wrap_content"
43           android:contentDescription="@string/battery_voltage_label"
44           android:src="@drawable/grayled"
45           />
46
47       <ImageView
48           android:id="@+id/battery_greenled"
49           android:layout_width="wrap_content"
50           android:layout_height="wrap_content"
51           android:contentDescription="@string/battery_voltage_label"
52           android:src="@drawable/grayled" />
53
54       <TextView
55           android:id="@+id/battery_voltage_label"
56           android:layout_width="wrap_content"
57           android:layout_height="wrap_content"
58           android:text="@string/battery_voltage_label" />
59
60       <TextView
61           android:id="@+id/battery_voltage_value"
62           android:layout_width="wrap_content"
63           android:layout_height="wrap_content"
64           android:text=""
65           android:textAppearance="?android:attr/textAppearanceSmall"
66           />
67     </TableRow>
68
69     <TableRow
70         android:id="@+id/receiver_row"
71         android:visibility="gone"
72         android:layout_gravity="center"
73         android:layout_weight="1"
74         android:padding="2dip"
75         android:layout_width="wrap_content"
76         android:layout_height="wrap_content">
77
78       <ImageView
79           android:id="@+id/receiver_redled"
80           android:layout_width="wrap_content"
81           android:layout_height="wrap_content"
82           android:contentDescription="@string/receiver_voltage_label"
83           android:src="@drawable/grayled" />
84
85       <ImageView
86           android:id="@+id/receiver_greenled"
87           android:layout_width="wrap_content"
88           android:layout_height="wrap_content"
89           android:contentDescription="@string/receiver_voltage_label"
90           android:src="@drawable/grayled" />
91
92       <TextView
93           android:id="@+id/receiver_voltage_label"
94           android:layout_width="wrap_content"
95           android:layout_height="wrap_content"
96           android:text="@string/receiver_voltage_label" />
97
98       <TextView
99           android:id="@+id/receiver_voltage_value"
100           android:layout_width="wrap_content"
101           android:layout_height="wrap_content"
102           android:text=""
103           android:textAppearance="?android:attr/textAppearanceSmall" />
104     </TableRow>
105
106     <TableRow
107         android:layout_gravity="center"
108         android:layout_weight="1"
109         android:padding="2dip"
110         android:layout_width="wrap_content"
111         android:layout_height="wrap_content" >
112
113       <ImageView
114           android:id="@+id/logging_redled"
115           android:layout_width="wrap_content"
116           android:layout_height="wrap_content"
117           android:contentDescription="@string/logging_label"
118           android:src="@drawable/grayled" />
119
120       <ImageView
121           android:id="@+id/logging_greenled"
122           android:layout_width="wrap_content"
123           android:layout_height="wrap_content"
124           android:contentDescription="@string/logging_label"
125           android:src="@drawable/grayled" />
126
127       <TextView
128           android:id="@+id/logging_label"
129           android:layout_width="wrap_content"
130           android:layout_height="wrap_content"
131           android:text="@string/logging_label" />
132
133       <TextView
134           android:id="@+id/logging_value"
135           android:layout_width="wrap_content"
136           android:layout_height="wrap_content"
137           android:layout_below="@id/logging_label"
138           android:text=""
139           android:textAppearance="?android:attr/textAppearanceSmall" />
140     </TableRow>
141
142     <TableRow
143         android:layout_gravity="center"
144         android:layout_weight="1"
145         android:padding="2dip"
146         android:layout_width="wrap_content"
147         android:layout_height="wrap_content" >
148
149       <ImageView
150           android:id="@+id/gps_locked_redled"
151           android:layout_width="wrap_content"
152           android:layout_height="wrap_content"
153           android:contentDescription="@string/gps_locked_label"
154           android:src="@drawable/grayled" />
155
156       <ImageView
157           android:id="@+id/gps_locked_greenled"
158           android:layout_width="wrap_content"
159           android:layout_height="wrap_content"
160           android:contentDescription="@string/gps_locked_label"
161           android:src="@drawable/grayled" />
162
163       <TextView
164           android:id="@+id/gps_locked_label"
165           android:layout_width="wrap_content"
166           android:layout_height="wrap_content"
167           android:text="@string/gps_locked_label" />
168
169       <TextView
170           android:id="@+id/gps_locked_value"
171           android:layout_width="wrap_content"
172           android:layout_height="wrap_content"
173           android:layout_below="@id/gps_locked_label"
174           android:text=""
175           android:textAppearance="?android:attr/textAppearanceSmall" />
176     </TableRow>
177
178     <TableRow
179         android:layout_gravity="center"
180         android:layout_weight="1"
181         android:padding="2dip"
182         android:layout_width="wrap_content"
183         android:layout_height="wrap_content" >
184
185       <ImageView
186           android:id="@+id/gps_ready_redled"
187           android:layout_width="wrap_content"
188           android:layout_height="wrap_content"
189           android:contentDescription="@string/gps_ready_label"
190           android:src="@drawable/grayled" />
191
192       <ImageView
193           android:id="@+id/gps_ready_greenled"
194           android:layout_width="wrap_content"
195           android:layout_height="wrap_content"
196           android:contentDescription="@string/gps_ready_label"
197           android:src="@drawable/grayled" />
198
199       <TextView
200           android:id="@+id/gps_ready_label"
201           android:layout_width="wrap_content"
202           android:layout_height="wrap_content"
203           android:text="@string/gps_ready_label" />
204
205       <TextView
206           android:id="@+id/gps_ready_value"
207           android:layout_width="wrap_content"
208           android:layout_height="wrap_content"
209           android:layout_below="@id/gps_ready_label"
210           android:text=""
211           android:textAppearance="?android:attr/textAppearanceSmall" />
212     </TableRow>
213
214     <TableRow
215         android:id="@+id/apogee_row"
216         android:visibility="gone"
217         android:layout_gravity="center"
218         android:layout_weight="1"
219         android:padding="2dip"
220         android:layout_width="wrap_content"
221         android:layout_height="wrap_content">
222
223       <ImageView
224           android:id="@+id/apogee_redled"
225           android:layout_width="wrap_content"
226           android:layout_height="wrap_content"
227           android:contentDescription="@string/apogee_voltage_label"
228           android:src="@drawable/grayled" />
229
230       <ImageView
231           android:id="@+id/apogee_greenled"
232           android:layout_width="wrap_content"
233           android:layout_height="wrap_content"
234           android:contentDescription="@string/apogee_voltage_label"
235           android:src="@drawable/grayled" />
236
237       <TextView
238           android:id="@+id/apogee_voltage_label"
239           android:layout_width="wrap_content"
240           android:layout_height="wrap_content"
241           android:text="@string/apogee_voltage_label" />
242
243       <TextView
244           android:id="@+id/apogee_voltage_value"
245           android:layout_width="wrap_content"
246           android:layout_height="wrap_content"
247           android:text=""
248           android:textAppearance="?android:attr/textAppearanceSmall" />
249     </TableRow>
250
251     <TableRow
252         android:id="@+id/main_row"
253         android:visibility="gone"
254         android:layout_gravity="center"
255         android:layout_weight="1"
256         android:padding="2dip"
257         android:layout_width="wrap_content"
258         android:layout_height="wrap_content" >
259
260       <ImageView
261           android:id="@+id/main_redled"
262           android:layout_width="wrap_content"
263           android:layout_height="wrap_content"
264           android:contentDescription="@string/main_voltage_label"
265           android:src="@drawable/grayled" />
266
267       <ImageView
268           android:id="@+id/main_greenled"
269           android:layout_width="wrap_content"
270           android:layout_height="wrap_content"
271           android:contentDescription="@string/main_voltage_label"
272           android:src="@drawable/grayled" />
273
274       <TextView
275           android:id="@+id/main_voltage_label"
276           android:layout_width="wrap_content"
277           android:layout_height="wrap_content"
278           android:text="@string/main_voltage_label" />
279
280       <TextView
281           android:id="@+id/main_voltage_value"
282           android:layout_width="wrap_content"
283           android:layout_height="wrap_content"
284           android:text=""
285           android:textAppearance="?android:attr/textAppearanceSmall" />
286     </TableRow>
287
288     <TableRow
289         android:id="@+id/ignite_a_row"
290         android:visibility="gone"
291         android:layout_gravity="center"
292         android:layout_weight="1"
293         android:padding="2dip"
294         android:layout_width="wrap_content"
295         android:layout_height="wrap_content" >
296
297       <ImageView
298           android:id="@+id/ignite_a_redled"
299           android:layout_width="wrap_content"
300           android:layout_height="wrap_content"
301           android:contentDescription="@string/ignite_a_voltage_label"
302           android:src="@drawable/grayled" />
303
304       <ImageView
305           android:id="@+id/ignite_a_greenled"
306           android:layout_width="wrap_content"
307           android:layout_height="wrap_content"
308           android:contentDescription="@string/ignite_a_voltage_label"
309           android:src="@drawable/grayled" />
310
311       <TextView
312           android:id="@+id/ignite_a_voltage_label"
313           android:layout_width="wrap_content"
314           android:layout_height="wrap_content"
315           android:text="@string/ignite_a_voltage_label" />
316
317       <TextView
318           android:id="@+id/ignite_a_voltage_value"
319           android:layout_width="wrap_content"
320           android:layout_height="wrap_content"
321           android:text=""
322           android:textAppearance="?android:attr/textAppearanceSmall" />
323     </TableRow>
324
325     <TableRow
326         android:id="@+id/ignite_b_row"
327         android:visibility="gone"
328         android:layout_gravity="center"
329         android:layout_weight="1"
330         android:padding="2dip"
331         android:layout_width="wrap_content"
332         android:layout_height="wrap_content" >
333
334       <ImageView
335           android:id="@+id/ignite_b_redled"
336           android:layout_width="wrap_content"
337           android:layout_height="wrap_content"
338           android:contentDescription="@string/ignite_b_voltage_label"
339           android:src="@drawable/grayled" />
340
341       <ImageView
342           android:id="@+id/ignite_b_greenled"
343           android:layout_width="wrap_content"
344           android:layout_height="wrap_content"
345           android:contentDescription="@string/ignite_b_voltage_label"
346           android:src="@drawable/grayled" />
347
348       <TextView
349           android:id="@+id/ignite_b_voltage_label"
350           android:layout_width="wrap_content"
351           android:layout_height="wrap_content"
352           android:text="@string/ignite_b_voltage_label" />
353
354       <TextView
355           android:id="@+id/ignite_b_voltage_value"
356           android:layout_width="wrap_content"
357           android:layout_height="wrap_content"
358           android:text=""
359           android:textAppearance="?android:attr/textAppearanceSmall" />
360     </TableRow>
361
362     <TableRow
363         android:id="@+id/ignite_c_row"
364         android:visibility="gone"
365         android:layout_gravity="center"
366         android:layout_weight="1"
367         android:padding="2dip"
368         android:layout_width="wrap_content"
369         android:layout_height="wrap_content" >
370
371       <ImageView
372           android:id="@+id/ignite_c_redled"
373           android:layout_width="wrap_content"
374           android:layout_height="wrap_content"
375           android:contentDescription="@string/ignite_c_voltage_label"
376           android:src="@drawable/grayled" />
377
378       <ImageView
379           android:id="@+id/ignite_c_greenled"
380           android:layout_width="wrap_content"
381           android:layout_height="wrap_content"
382           android:contentDescription="@string/ignite_c_voltage_label"
383           android:src="@drawable/grayled" />
384
385       <TextView
386           android:id="@+id/ignite_c_voltage_label"
387           android:layout_width="wrap_content"
388           android:layout_height="wrap_content"
389           android:text="@string/ignite_c_voltage_label" />
390
391       <TextView
392           android:id="@+id/ignite_c_voltage_value"
393           android:layout_width="wrap_content"
394           android:layout_height="wrap_content"
395           android:text=""
396           android:textAppearance="?android:attr/textAppearanceSmall" />
397     </TableRow>
398
399     <TableRow
400         android:id="@+id/ignite_d_row"
401         android:visibility="gone"
402         android:layout_gravity="center"
403         android:layout_weight="1"
404         android:padding="2dip"
405         android:layout_width="wrap_content"
406         android:layout_height="wrap_content" >
407
408       <ImageView
409           android:id="@+id/ignite_d_redled"
410           android:layout_width="wrap_content"
411           android:layout_height="wrap_content"
412           android:contentDescription="@string/ignite_d_voltage_label"
413           android:src="@drawable/grayled" />
414
415       <ImageView
416           android:id="@+id/ignite_d_greenled"
417           android:layout_width="wrap_content"
418           android:layout_height="wrap_content"
419           android:contentDescription="@string/ignite_d_voltage_label"
420           android:src="@drawable/grayled" />
421
422       <TextView
423           android:id="@+id/ignite_d_voltage_label"
424           android:layout_width="wrap_content"
425           android:layout_height="wrap_content"
426           android:text="@string/ignite_d_voltage_label" />
427
428       <TextView
429           android:id="@+id/ignite_d_voltage_value"
430           android:layout_width="wrap_content"
431           android:layout_height="wrap_content"
432           android:text=""
433           android:textAppearance="?android:attr/textAppearanceSmall" />
434     </TableRow>
435
436     <TableRow
437         android:padding="2dip"
438         android:layout_width="wrap_content"
439         android:layout_height="wrap_content">
440
441       <TextView
442           android:id="@+id/receiver_lat_label"
443           android:layout_width="wrap_content"
444           android:layout_height="wrap_content"
445           android:layout_column="2"
446           android:text="@string/receiver_latitude_label" />
447
448       <TextView
449           android:id="@+id/receiver_lat_value"
450           android:layout_width="wrap_content"
451           android:layout_height="wrap_content"
452           android:text=""
453           android:textAppearance="?android:attr/textAppearanceSmall" />
454     </TableRow>
455
456     <TableRow
457         android:padding="2dip"
458         android:layout_width="wrap_content"
459         android:layout_height="wrap_content">
460
461       <TextView
462           android:id="@+id/receiver_lon_label"
463           android:layout_width="wrap_content"
464           android:layout_height="wrap_content"
465           android:layout_column="2"
466           android:text="@string/receiver_longitude_label" />
467
468       <TextView
469           android:id="@+id/receiver_lon_value"
470           android:layout_width="wrap_content"
471           android:layout_height="wrap_content"
472           android:text=""
473           android:textAppearance="?android:attr/textAppearanceSmall" />
474     </TableRow>
475
476     <TableRow
477         android:padding="2dip"
478         android:layout_width="wrap_content"
479         android:layout_height="wrap_content">
480
481       <TextView
482           android:id="@+id/receiver_alt_label"
483           android:layout_width="wrap_content"
484           android:layout_height="wrap_content"
485           android:layout_column="2"
486           android:text="@string/receiver_altitude_label" />
487
488       <TextView
489           android:id="@+id/receiver_alt_value"
490           android:layout_width="wrap_content"
491           android:layout_height="wrap_content"
492           android:text=""
493           android:textAppearance="?android:attr/textAppearanceSmall" />
494     </TableRow>
495   </TableLayout>
496 </LinearLayout>