altosdroid: rename azimuth/altitude to elevation/height respectively.
[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_alignParentRight="true"
96                 android:layout_below="@id/speed_label"
97                 android:text=""
98                 android:textAppearance="?android:attr/textAppearanceLarge" />
99
100         </RelativeLayout>
101
102         <RelativeLayout
103             android:id="@+id/accel_container"
104             android:layout_width="wrap_content"
105             android:layout_height="wrap_content"
106             android:layout_alignParentRight="true"
107             android:layout_below="@+id/state_container"
108             android:layout_toRightOf="@+id/strut" >
109
110             <TextView
111                 android:id="@+id/accel_label"
112                 android:layout_width="wrap_content"
113                 android:layout_height="wrap_content"
114                 android:text="@string/accel_label" />
115
116             <TextView
117                 android:id="@+id/accel_value"
118                 android:layout_width="wrap_content"
119                 android:layout_height="wrap_content"
120                 android:layout_alignParentRight="true"
121                 android:layout_below="@+id/accel_label"
122                 android:text=""
123                 android:textAppearance="?android:attr/textAppearanceLarge" />
124
125         </RelativeLayout>
126
127         <RelativeLayout
128             android:id="@+id/range_container"
129             android:layout_width="wrap_content"
130             android:layout_height="wrap_content"
131             android:layout_alignParentLeft="true"
132             android:layout_below="@+id/speed_container"
133             android:layout_toLeftOf="@+id/strut" >
134
135             <TextView
136                 android:id="@+id/range_label"
137                 android:layout_width="wrap_content"
138                 android:layout_height="wrap_content"
139                 android:text="@string/range_label" />
140
141             <TextView
142                 android:id="@+id/range_value"
143                 android:layout_width="wrap_content"
144                 android:layout_height="wrap_content"
145                 android:layout_alignParentRight="true"
146                 android:layout_below="@+id/range_label"
147                 android:text=""
148                 android:textAppearance="?android:attr/textAppearanceLarge" />
149
150         </RelativeLayout>
151
152         <RelativeLayout
153             android:id="@+id/height_container"
154             android:layout_width="wrap_content"
155             android:layout_height="wrap_content"
156             android:layout_alignParentRight="true"
157             android:layout_below="@id/accel_container"
158             android:layout_toRightOf="@id/strut" >
159
160             <TextView
161                 android:id="@+id/height_label"
162                 android:layout_width="wrap_content"
163                 android:layout_height="wrap_content"
164                 android:text="@string/height_label" />
165
166             <TextView
167                 android:id="@+id/height_value"
168                 android:layout_width="wrap_content"
169                 android:layout_height="wrap_content"
170                 android:layout_alignParentRight="true"
171                 android:layout_below="@+id/height_label"
172                 android:text=""
173                 android:textAppearance="?android:attr/textAppearanceLarge" />
174         </RelativeLayout>
175
176         <RelativeLayout
177             android:id="@+id/elevation_container"
178             android:layout_width="wrap_content"
179             android:layout_height="wrap_content"
180             android:layout_alignParentLeft="true"
181             android:layout_below="@id/range_container"
182             android:layout_toLeftOf="@id/strut" >
183
184             <TextView
185                 android:id="@+id/elevation_label"
186                 android:layout_width="wrap_content"
187                 android:layout_height="wrap_content"
188                 android:text="@string/elevation_label" />
189
190             <TextView
191                 android:id="@+id/elevation_value"
192                 android:layout_width="wrap_content"
193                 android:layout_height="wrap_content"
194                 android:layout_alignParentRight="true"
195                 android:layout_below="@+id/elevation_label"
196                 android:text=""
197                 android:textAppearance="?android:attr/textAppearanceLarge" />
198         </RelativeLayout>
199
200         <RelativeLayout
201             android:id="@+id/bearing_container"
202             android:layout_width="wrap_content"
203             android:layout_height="wrap_content"
204             android:layout_alignParentRight="true"
205             android:layout_below="@+id/range_container"
206             android:layout_toRightOf="@+id/strut" >
207
208             <TextView
209                 android:id="@+id/bearing_label"
210                 android:layout_width="wrap_content"
211                 android:layout_height="wrap_content"
212                 android:text="@string/bearing_label" />
213
214             <TextView
215                 android:id="@+id/bearing_value"
216                 android:layout_width="wrap_content"
217                 android:layout_height="wrap_content"
218                 android:layout_alignParentRight="true"
219                 android:layout_below="@+id/bearing_label"
220                 android:text=""
221                 android:textAppearance="?android:attr/textAppearanceLarge" />
222
223         </RelativeLayout>
224
225         <RelativeLayout
226             android:id="@+id/latitude_container"
227             android:layout_width="wrap_content"
228             android:layout_height="wrap_content"
229             android:layout_below="@+id/elevation_container" >
230
231             <TextView
232                 android:id="@+id/latitude_label"
233                 android:layout_width="wrap_content"
234                 android:layout_height="wrap_content"
235                 android:text="@string/latitude_label" />
236
237             <TextView
238                 android:id="@+id/latitude_value"
239                 android:layout_width="wrap_content"
240                 android:layout_height="wrap_content"
241                 android:layout_alignParentRight="true"
242                 android:layout_below="@+id/latitude_label"
243                 android:text=""
244                 android:textAppearance="?android:attr/textAppearanceLarge" />
245
246         </RelativeLayout>
247
248         <RelativeLayout
249             android:id="@+id/longitude_container"
250             android:layout_width="wrap_content"
251             android:layout_height="wrap_content"
252             android:layout_below="@id/latitude_container" >
253
254             <TextView
255                 android:id="@+id/longitude_label"
256                 android:layout_width="wrap_content"
257                 android:layout_height="wrap_content"
258                 android:text="@string/longitude_label" />
259
260             <TextView
261                 android:id="@+id/longitude_value"
262                 android:layout_width="wrap_content"
263                 android:layout_height="wrap_content"
264                 android:layout_alignParentRight="true"
265                 android:layout_below="@+id/longitude_label"
266                 android:text=""
267                 android:textAppearance="?android:attr/textAppearanceLarge" />
268
269         </RelativeLayout>
270         
271             <TextView
272                 android:id="@+id/text"
273                 android:layout_width="fill_parent"
274                 android:layout_height="0dip"
275                 android:layout_alignParentBottom="true"
276                 android:layout_below="@id/longitude_container"
277                 android:gravity="bottom"
278                 android:scrollbars="vertical"
279                 android:textSize="7dp"
280                 android:typeface="monospace" />
281
282     </RelativeLayout>