altos: Add a bunch of .gitignore entries
[fw/altos] / altosdroid / res / layout / altosdroid.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2009 The Android Open Source Project
3
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
7
8           http://www.apache.org/licenses/LICENSE-2.0
9
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
16     <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
17         android:layout_width="fill_parent"
18         android:layout_height="wrap_content"
19         android:layout_weight="0" >
20
21         <RelativeLayout
22             android:id="@+id/strut"
23             android:layout_width="10dip"
24             android:layout_height="wrap_content"
25             android:layout_centerHorizontal="true" >
26
27         </RelativeLayout>
28
29         <RelativeLayout
30             android:id="@+id/callsign_container"
31             android:layout_width="wrap_content"
32             android:layout_height="wrap_content"
33             android:layout_alignParentLeft="true"
34             android:layout_toLeftOf="@+id/strut" >
35
36             <TextView
37                 android:id="@+id/callsign_label"
38                 android:layout_width="wrap_content"
39                 android:layout_height="wrap_content"
40                 android:text="@string/callsign_label" />
41
42             <TextView
43                 android:id="@+id/callsign_value"
44                 android:layout_width="wrap_content"
45                 android:layout_height="wrap_content"
46                 android:layout_alignParentRight="true"
47                 android:layout_below="@id/callsign_label"
48                 android:text=""
49                 android:textAppearance="?android:attr/textAppearanceLarge" />
50
51         </RelativeLayout>
52
53         <RelativeLayout
54             android:id="@+id/state_container"
55             android:layout_width="wrap_content"
56             android:layout_height="wrap_content"
57             android:layout_alignParentRight="true"
58             android:layout_toRightOf="@+id/strut" >
59
60             <TextView
61                 android:id="@+id/state_label"
62                 android:layout_width="wrap_content"
63                 android:layout_height="wrap_content"
64                 android:text="@string/state_label" />
65
66             <TextView
67                 android:id="@+id/state_value"
68                 android:layout_width="wrap_content"
69                 android:layout_height="wrap_content"
70                 android:layout_alignParentRight="true"
71                 android:layout_below="@+id/state_label"
72                 android:text=""
73                 android:textAppearance="?android:attr/textAppearanceLarge" />
74
75         </RelativeLayout>
76
77         <RelativeLayout
78             android:id="@+id/speed_container"
79             android:layout_width="wrap_content"
80             android:layout_height="wrap_content"
81             android:layout_alignParentLeft="true"
82             android:layout_below="@+id/callsign_container"
83             android:layout_toLeftOf="@+id/strut" >
84
85             <TextView
86                 android:id="@+id/speed_label"
87                 android:layout_width="wrap_content"
88                 android:layout_height="wrap_content"
89                 android:text="@string/speed_label" />
90
91             <TextView
92                 android:id="@+id/speed_value"
93                 android:layout_width="wrap_content"
94                 android:layout_height="wrap_content"
95                 android:layout_below="@id/speed_label"
96                 android:layout_toLeftOf="@+id/speed_units"
97                 android:text=""
98                 android:textAppearance="?android:attr/textAppearanceLarge" />
99
100             <TextView
101                 android:id="@+id/speed_units"
102                 android:layout_width="wrap_content"
103                 android:layout_height="wrap_content"
104                 android:layout_alignBaseline="@id/speed_value"
105                 android:layout_alignParentRight="true"
106                 android:layout_below="@id/speed_label"
107                 android:gravity="right"
108                 android:paddingLeft="10dip"
109                 android:text="@string/speed_units"
110                 android:textAppearance="?android:attr/textAppearanceMedium" />
111
112         </RelativeLayout>
113
114         <RelativeLayout
115             android:id="@+id/accel_container"
116             android:layout_width="wrap_content"
117             android:layout_height="wrap_content"
118             android:layout_alignParentRight="true"
119             android:layout_below="@+id/state_container"
120             android:layout_toRightOf="@+id/strut" >
121
122             <TextView
123                 android:id="@+id/accel_label"
124                 android:layout_width="wrap_content"
125                 android:layout_height="wrap_content"
126                 android:text="@string/accel_label" />
127
128             <TextView
129                 android:id="@+id/accel_value"
130                 android:layout_width="wrap_content"
131                 android:layout_height="wrap_content"
132                 android:layout_below="@+id/accel_label"
133                 android:layout_toLeftOf="@+id/accel_units"
134                 android:text=""
135                 android:textAppearance="?android:attr/textAppearanceLarge" />
136
137             <TextView
138                 android:id="@+id/accel_units"
139                 android:layout_width="wrap_content"
140                 android:layout_height="wrap_content"
141                 android:layout_alignBaseline="@+id/accel_value"
142                 android:layout_alignParentRight="true"
143                 android:layout_below="@+id/accel_label"
144                 android:gravity="right"
145                 android:paddingLeft="10dip"
146                 android:text="@string/accel_units"
147                 android:textAppearance="?android:attr/textAppearanceMedium" />
148         </RelativeLayout>
149
150         <RelativeLayout
151             android:id="@+id/range_container"
152             android:layout_width="wrap_content"
153             android:layout_height="wrap_content"
154             android:layout_alignParentLeft="true"
155             android:layout_below="@+id/speed_container"
156             android:layout_toLeftOf="@+id/strut" >
157
158             <TextView
159                 android:id="@+id/range_label"
160                 android:layout_width="wrap_content"
161                 android:layout_height="wrap_content"
162                 android:text="@string/range_label" />
163
164             <TextView
165                 android:id="@+id/range_value"
166                 android:layout_width="wrap_content"
167                 android:layout_height="wrap_content"
168                 android:layout_below="@+id/range_label"
169                 android:layout_toLeftOf="@+id/range_units"
170                 android:text=""
171                 android:textAppearance="?android:attr/textAppearanceLarge" />
172
173             <TextView
174                 android:id="@+id/range_units"
175                 android:layout_width="wrap_content"
176                 android:layout_height="wrap_content"
177                 android:layout_alignBaseline="@+id/range_value"
178                 android:layout_alignParentRight="true"
179                 android:layout_below="@+id/range_label"
180                 android:gravity="right"
181                 android:paddingLeft="10dip"
182                 android:text="@string/range_units"
183                 android:textAppearance="?android:attr/textAppearanceMedium" />
184
185         </RelativeLayout>
186
187         <RelativeLayout
188             android:id="@+id/altitude_container"
189             android:layout_width="wrap_content"
190             android:layout_height="wrap_content"
191             android:layout_alignParentRight="true"
192             android:layout_below="@id/accel_container"
193             android:layout_toRightOf="@id/strut" >
194
195             <TextView
196                 android:id="@+id/altitude_label"
197                 android:layout_width="wrap_content"
198                 android:layout_height="wrap_content"
199                 android:text="@string/altitude_label" />
200
201             <TextView
202                 android:id="@+id/altitude_value"
203                 android:layout_width="wrap_content"
204                 android:layout_height="wrap_content"
205                 android:layout_below="@+id/altitude_label"
206                 android:layout_toLeftOf="@+id/altitude_units"
207                 android:text=""
208                 android:textAppearance="?android:attr/textAppearanceLarge" />
209
210             <TextView
211                 android:id="@+id/altitude_units"
212                 android:layout_width="wrap_content"
213                 android:layout_height="wrap_content"
214                 android:layout_alignBaseline="@+id/altitude_value"
215                 android:layout_alignParentRight="true"
216                 android:layout_below="@+id/altitude_label"
217                 android:gravity="right"
218                 android:paddingLeft="10dip"
219                 android:text="@string/altitude_units"
220                 android:textAppearance="?android:attr/textAppearanceMedium" />
221         </RelativeLayout>
222
223         <RelativeLayout
224             android:id="@+id/azimuth_container"
225             android:layout_width="wrap_content"
226             android:layout_height="wrap_content"
227             android:layout_alignParentLeft="true"
228             android:layout_below="@id/range_container"
229             android:layout_toLeftOf="@id/strut" >
230
231             <TextView
232                 android:id="@+id/azimuth_label"
233                 android:layout_width="wrap_content"
234                 android:layout_height="wrap_content"
235                 android:text="@string/azimuth_label" />
236
237             <TextView
238                 android:id="@+id/azimuth_value"
239                 android:layout_width="wrap_content"
240                 android:layout_height="wrap_content"
241                 android:layout_below="@+id/azimuth_label"
242                 android:layout_toLeftOf="@+id/azimuth_units"
243                 android:text=""
244                 android:textAppearance="?android:attr/textAppearanceLarge" />
245
246             <TextView
247                 android:id="@+id/azimuth_units"
248                 android:layout_width="wrap_content"
249                 android:layout_height="wrap_content"
250                 android:layout_alignParentRight="true"
251                 android:layout_below="@+id/azimuth_label"
252                 android:gravity="right"
253                 android:paddingLeft="10dip"
254                 android:text="@string/azimuth_units"
255                 android:textAppearance="?android:attr/textAppearanceMedium" />
256         </RelativeLayout>
257
258         <RelativeLayout
259             android:id="@+id/bearing_container"
260             android:layout_width="wrap_content"
261             android:layout_height="wrap_content"
262             android:layout_alignParentRight="true"
263             android:layout_below="@+id/altitude_container"
264             android:layout_toRightOf="@+id/strut" >
265
266             <TextView
267                 android:id="@+id/bearing_label"
268                 android:layout_width="wrap_content"
269                 android:layout_height="wrap_content"
270                 android:text="@string/bearing_label" />
271
272             <TextView
273                 android:id="@+id/bearing_value"
274                 android:layout_width="wrap_content"
275                 android:layout_height="wrap_content"
276                 android:layout_below="@+id/bearing_label"
277                 android:layout_toLeftOf="@+id/bearing_units"
278                 android:text=""
279                 android:textAppearance="?android:attr/textAppearanceLarge" />
280
281             <TextView
282                 android:id="@+id/bearing_units"
283                 android:layout_width="wrap_content"
284                 android:layout_height="wrap_content"
285                 android:layout_alignParentRight="true"
286                 android:layout_below="@+id/bearing_label"
287                 android:gravity="right"
288                 android:paddingLeft="10dip"
289                 android:text="@string/bearing_units"
290                 android:textAppearance="?android:attr/textAppearanceMedium" />
291         </RelativeLayout>
292
293         <RelativeLayout
294             android:id="@+id/latitude_container"
295             android:layout_width="wrap_content"
296             android:layout_height="wrap_content"
297             android:layout_below="@+id/azimuth_container" >
298
299             <TextView
300                 android:id="@+id/latitude_label"
301                 android:layout_width="wrap_content"
302                 android:layout_height="wrap_content"
303                 android:text="@string/latitude_label" />
304
305             <TextView
306                 android:id="@+id/latitude_value"
307                 android:layout_width="wrap_content"
308                 android:layout_height="wrap_content"
309                 android:layout_alignParentRight="true"
310                 android:layout_below="@+id/latitude_label"
311                 android:text=""
312                 android:textAppearance="?android:attr/textAppearanceLarge" />
313
314         </RelativeLayout>
315
316         <RelativeLayout
317             android:id="@+id/longitude_container"
318             android:layout_width="wrap_content"
319             android:layout_height="wrap_content"
320             android:layout_below="@id/latitude_container" >
321
322             <TextView
323                 android:id="@+id/longitude_label"
324                 android:layout_width="wrap_content"
325                 android:layout_height="wrap_content"
326                 android:text="@string/longitude_label" />
327
328             <TextView
329                 android:id="@+id/longitude_value"
330                 android:layout_width="wrap_content"
331                 android:layout_height="wrap_content"
332                 android:layout_alignParentRight="true"
333                 android:layout_below="@+id/longitude_label"
334                 android:text=""
335                 android:textAppearance="?android:attr/textAppearanceLarge" />
336
337         </RelativeLayout>
338         
339             <TextView
340                 android:id="@+id/text"
341                 android:layout_width="fill_parent"
342                 android:layout_height="0dip"
343                 android:layout_alignParentBottom="true"
344                 android:layout_below="@id/longitude_container"
345                 android:gravity="bottom"
346                 android:scrollbars="vertical"
347                 android:textSize="7dp"
348                 android:typeface="monospace" />
349
350     </RelativeLayout>