1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2009 The Android Open Source Project
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
8 http://www.apache.org/licenses/LICENSE-2.0
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.
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" >
22 android:id="@+id/strut"
23 android:layout_width="10dip"
24 android:layout_height="wrap_content"
25 android:layout_centerHorizontal="true" >
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" >
37 android:id="@+id/callsign_label"
38 android:layout_width="wrap_content"
39 android:layout_height="wrap_content"
40 android:text="@string/callsign_label" />
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"
49 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
61 android:id="@+id/state_label"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:text="@string/state_label" />
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"
73 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
86 android:id="@+id/speed_label"
87 android:layout_width="wrap_content"
88 android:layout_height="wrap_content"
89 android:text="@string/speed_label" />
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"
98 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
111 android:id="@+id/accel_label"
112 android:layout_width="wrap_content"
113 android:layout_height="wrap_content"
114 android:text="@string/accel_label" />
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"
123 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
136 android:id="@+id/range_label"
137 android:layout_width="wrap_content"
138 android:layout_height="wrap_content"
139 android:text="@string/range_label" />
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"
148 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
161 android:id="@+id/height_label"
162 android:layout_width="wrap_content"
163 android:layout_height="wrap_content"
164 android:text="@string/height_label" />
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"
173 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
185 android:id="@+id/elevation_label"
186 android:layout_width="wrap_content"
187 android:layout_height="wrap_content"
188 android:text="@string/elevation_label" />
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"
197 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
209 android:id="@+id/bearing_label"
210 android:layout_width="wrap_content"
211 android:layout_height="wrap_content"
212 android:text="@string/bearing_label" />
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"
221 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
232 android:id="@+id/latitude_label"
233 android:layout_width="wrap_content"
234 android:layout_height="wrap_content"
235 android:text="@string/latitude_label" />
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"
244 android:textAppearance="?android:attr/textAppearanceLarge" />
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" >
255 android:id="@+id/longitude_label"
256 android:layout_width="wrap_content"
257 android:layout_height="wrap_content"
258 android:text="@string/longitude_label" />
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"
267 android:textAppearance="?android:attr/textAppearanceLarge" />
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" />