Remove ant build files
[fw/altos] / altosdroid / res / layout / tab_flight.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 <LinearLayout
20     xmlns:android="http://schemas.android.com/apk/res/android"
21     android:layout_width="fill_parent"
22     android:layout_height="wrap_content"
23     android:orientation="vertical" >
24
25   <LinearLayout
26       android:layout_weight="0"
27       android:layout_width="fill_parent"
28       android:layout_height="wrap_content"
29       android:orientation="vertical" >
30
31     <LinearLayout
32         xmlns:android="http://schemas.android.com/apk/res/android"
33         android:layout_width="fill_parent"
34         android:layout_height="wrap_content"
35         android:layout_weight="0"
36         android:baselineAligned="true"
37         android:orientation="horizontal" >
38
39       <RelativeLayout
40           android:layout_width="0dp"
41           android:layout_height="wrap_content"
42           android:layout_weight="1" >
43
44         <TextView
45             android:id="@+id/speed_label"
46             android:layout_width="wrap_content"
47             android:layout_height="wrap_content"
48             android:text="@string/speed_label" />
49
50         <TextView
51             android:id="@+id/speed_value"
52             android:layout_width="wrap_content"
53             android:layout_height="wrap_content"
54             android:layout_alignParentRight="true"
55             android:layout_below="@id/speed_label"
56             android:text=""
57             android:textAppearance="?android:attr/textAppearanceSmall" />
58       </RelativeLayout>
59
60       <RelativeLayout
61           android:layout_width="0dp"
62           android:layout_height="wrap_content"
63           android:layout_weight="1" >
64
65         <TextView
66             android:id="@+id/height_label"
67             android:layout_width="wrap_content"
68             android:layout_height="wrap_content"
69             android:text="@string/height_label" />
70
71         <TextView
72             android:id="@+id/height_value"
73             android:layout_width="wrap_content"
74             android:layout_height="wrap_content"
75             android:layout_alignParentRight="true"
76             android:layout_below="@id/height_label"
77             android:text=""
78             android:textAppearance="?android:attr/textAppearanceSmall" />
79       </RelativeLayout>
80
81     </LinearLayout>
82
83     <LinearLayout
84         xmlns:android="http://schemas.android.com/apk/res/android"
85         android:layout_width="fill_parent"
86         android:layout_height="wrap_content"
87         android:layout_weight="0"
88         android:baselineAligned="true"
89         android:orientation="horizontal" >
90
91       <RelativeLayout
92           android:layout_width="0dp"
93           android:layout_height="wrap_content"
94           android:layout_weight="1" >
95
96         <TextView
97             android:id="@+id/max_speed_label"
98             android:layout_width="wrap_content"
99             android:layout_height="wrap_content"
100             android:text="@string/max_speed_label" />
101
102         <TextView
103             android:id="@+id/max_speed_value"
104             android:layout_width="wrap_content"
105             android:layout_height="wrap_content"
106             android:layout_alignParentRight="true"
107             android:layout_below="@id/max_speed_label"
108             android:text=""
109             android:textAppearance="?android:attr/textAppearanceSmall" />
110       </RelativeLayout>
111
112       <RelativeLayout
113           android:layout_width="0dp"
114           android:layout_height="wrap_content"
115           android:layout_weight="1" >
116
117         <TextView
118             android:id="@+id/max_height_label"
119             android:layout_width="wrap_content"
120             android:layout_height="wrap_content"
121             android:text="@string/max_height_label" />
122
123         <TextView
124             android:id="@+id/max_height_value"
125             android:layout_width="wrap_content"
126             android:layout_height="wrap_content"
127             android:layout_alignParentRight="true"
128             android:layout_below="@id/max_height_label"
129             android:text=""
130             android:textAppearance="?android:attr/textAppearanceSmall" />
131       </RelativeLayout>
132
133     </LinearLayout>
134
135     <LinearLayout
136         xmlns:android="http://schemas.android.com/apk/res/android"
137         android:layout_width="fill_parent"
138         android:layout_height="wrap_content"
139         android:layout_weight="0"
140         android:baselineAligned="true"
141         android:orientation="horizontal"
142         android:paddingTop="5dp" >
143
144       <RelativeLayout
145           android:layout_width="0dp"
146           android:layout_height="wrap_content"
147           android:layout_weight="1" >
148
149         <TextView
150             android:id="@+id/elevation_label"
151             android:layout_width="wrap_content"
152             android:layout_height="wrap_content"
153             android:text="@string/elevation_label" />
154
155         <TextView
156             android:id="@+id/elevation_value"
157             android:layout_width="wrap_content"
158             android:layout_height="wrap_content"
159             android:layout_alignParentRight="true"
160             android:layout_below="@id/elevation_label"
161             android:text=""
162             android:textAppearance="?android:attr/textAppearanceSmall" />
163       </RelativeLayout>
164
165       <RelativeLayout
166           android:layout_width="0dp"
167           android:layout_height="wrap_content"
168           android:layout_weight="1" >
169
170         <TextView
171             android:id="@+id/range_label"
172             android:layout_width="wrap_content"
173             android:layout_height="wrap_content"
174             android:text="@string/range_label" />
175
176         <TextView
177             android:id="@+id/range_value"
178             android:layout_width="wrap_content"
179             android:layout_height="wrap_content"
180             android:layout_alignParentRight="true"
181             android:layout_below="@id/range_label"
182             android:text=""
183             android:textAppearance="?android:attr/textAppearanceSmall" />
184       </RelativeLayout>
185
186     </LinearLayout>
187
188     <LinearLayout
189         xmlns:android="http://schemas.android.com/apk/res/android"
190         android:layout_width="fill_parent"
191         android:layout_height="wrap_content"
192         android:layout_weight="0"
193         android:baselineAligned="true"
194         android:orientation="horizontal"
195         android:paddingTop="5dp" >
196
197       <RelativeLayout
198           android:layout_width="0dp"
199           android:layout_height="wrap_content"
200           android:layout_weight="1" >
201
202         <TextView
203             android:id="@+id/bearing_label"
204             android:layout_width="wrap_content"
205             android:layout_height="wrap_content"
206             android:text="@string/bearing_label" />
207
208         <TextView
209             android:id="@+id/bearing_value"
210             android:layout_width="wrap_content"
211             android:layout_height="wrap_content"
212             android:layout_alignParentRight="true"
213             android:layout_below="@id/bearing_label"
214             android:text=""
215             android:textAppearance="?android:attr/textAppearanceSmall" />
216       </RelativeLayout>
217
218       <RelativeLayout
219           android:layout_width="0dp"
220           android:layout_height="wrap_content"
221           android:layout_weight="1" >
222
223         <TextView
224             android:id="@+id/compass_label"
225             android:layout_width="wrap_content"
226             android:layout_height="wrap_content"
227             android:text="" />
228
229         <TextView
230             android:id="@+id/compass_value"
231             android:layout_width="wrap_content"
232             android:layout_height="wrap_content"
233             android:layout_alignParentRight="true"
234             android:layout_below="@id/compass_label"
235             android:text=""
236             android:textAppearance="?android:attr/textAppearanceSmall" />
237       </RelativeLayout>
238
239     </LinearLayout>
240
241     <LinearLayout
242         xmlns:android="http://schemas.android.com/apk/res/android"
243         android:layout_width="fill_parent"
244         android:layout_height="wrap_content"
245         android:layout_weight="0"
246         android:baselineAligned="true"
247         android:orientation="horizontal"
248         android:paddingTop="5dp" >
249
250       <RelativeLayout
251           android:layout_width="0dp"
252           android:layout_height="wrap_content"
253           android:layout_weight="1" >
254
255         <TextView
256             android:id="@+id/distance_label"
257             android:layout_width="wrap_content"
258             android:layout_height="wrap_content"
259             android:text="@string/gnd_distance_label" />
260
261         <TextView
262             android:id="@+id/distance_value"
263             android:layout_width="wrap_content"
264             android:layout_height="wrap_content"
265             android:layout_alignParentRight="true"
266             android:layout_below="@id/distance_label"
267             android:text=""
268             android:textAppearance="?android:attr/textAppearanceSmall" />
269       </RelativeLayout>
270
271       <TextView
272           android:layout_width="0dp"
273           android:layout_height="wrap_content"
274           android:layout_weight="1" >
275       </TextView>
276
277     </LinearLayout>
278
279     <RelativeLayout
280         android:layout_width="wrap_content"
281         android:layout_height="wrap_content"
282         android:paddingTop="5dp" >
283
284       <TextView
285           android:id="@+id/lat_label"
286           android:layout_width="wrap_content"
287           android:layout_height="wrap_content"
288           android:text="@string/latitude_label" />
289
290       <TextView
291           android:id="@+id/lat_value"
292           android:layout_width="wrap_content"
293           android:layout_height="wrap_content"
294           android:layout_alignParentRight="true"
295           android:layout_below="@id/lat_label"
296           android:text=""
297           android:textAppearance="?android:attr/textAppearanceSmall" />
298     </RelativeLayout>
299
300     <RelativeLayout
301         android:layout_width="wrap_content"
302         android:layout_height="wrap_content"
303         android:paddingTop="5dp" >
304
305       <TextView
306           android:id="@+id/lon_label"
307           android:layout_width="wrap_content"
308           android:layout_height="wrap_content"
309           android:text="@string/longitude_label" />
310
311       <TextView
312           android:id="@+id/lon_value"
313           android:layout_width="wrap_content"
314           android:layout_height="wrap_content"
315           android:layout_alignParentRight="true"
316           android:layout_below="@id/lon_label"
317           android:text=""
318           android:textAppearance="?android:attr/textAppearanceSmall" />
319     </RelativeLayout>
320
321     <RelativeLayout
322         android:id="@+id/apogee_view"
323         android:visibility="gone"
324         android:layout_gravity="fill"
325         android:layout_weight="1"
326         android:layout_width="wrap_content"
327         android:layout_height="wrap_content"
328         android:paddingTop="5dp" >
329
330       <ImageView
331           android:id="@+id/apogee_redled"
332           android:layout_width="wrap_content"
333           android:layout_height="wrap_content"
334           android:contentDescription="@string/apogee_voltage_label"
335           android:src="@drawable/grayled" />
336
337       <ImageView
338           android:id="@+id/apogee_greenled"
339           android:layout_width="wrap_content"
340           android:layout_height="wrap_content"
341           android:layout_toRightOf="@id/apogee_redled"
342           android:contentDescription="@string/apogee_voltage_label"
343           android:paddingRight="5dp"
344           android:src="@drawable/grayled" />
345
346       <TextView
347           android:id="@+id/apogee_voltage_label"
348           android:layout_width="wrap_content"
349           android:layout_height="wrap_content"
350           android:layout_toRightOf="@id/apogee_greenled"
351           android:text="@string/apogee_voltage_label" />
352
353       <TextView
354           android:id="@+id/apogee_voltage_value"
355           android:layout_width="wrap_content"
356           android:layout_height="wrap_content"
357           android:layout_alignParentRight="true"
358           android:text=""
359           android:textAppearance="?android:attr/textAppearanceSmall" />
360     </RelativeLayout>
361
362     <RelativeLayout
363         android:id="@+id/main_view"
364         android:visibility="gone"
365         android:layout_gravity="fill"
366         android:layout_weight="1"
367         android:layout_width="wrap_content"
368         android:layout_height="wrap_content"
369         android:paddingTop="5dp" >
370
371       <ImageView
372           android:id="@+id/main_redled"
373           android:layout_width="wrap_content"
374           android:layout_height="wrap_content"
375           android:contentDescription="@string/main_voltage_label"
376           android:src="@drawable/grayled" />
377
378       <ImageView
379           android:id="@+id/main_greenled"
380           android:layout_width="wrap_content"
381           android:layout_height="wrap_content"
382           android:layout_toRightOf="@id/main_redled"
383           android:contentDescription="@string/main_voltage_label"
384           android:paddingRight="5dp"
385           android:src="@drawable/grayled" />
386
387       <TextView
388           android:id="@+id/main_voltage_label"
389           android:layout_width="wrap_content"
390           android:layout_height="wrap_content"
391           android:layout_toRightOf="@id/main_greenled"
392           android:text="@string/main_voltage_label" />
393
394       <TextView
395           android:id="@+id/main_voltage_value"
396           android:layout_width="wrap_content"
397           android:layout_height="wrap_content"
398           android:layout_alignParentRight="true"
399           android:text=""
400           android:textAppearance="?android:attr/textAppearanceSmall" />
401     </RelativeLayout>
402   </LinearLayout>
403 </LinearLayout>