1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright © 2013 Mike Beattie <mike@ethernal.org>
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; version 2 of the License.
9 This program is distributed in the hope that it will be useful, but
10 WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 General Public License for more details.
14 You should have received a copy of the GNU General Public License along
15 with this program; if not, write to the Free Software Foundation, Inc.,
16 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="fill_parent"
20 android:layout_height="wrap_content"
21 android:orientation="vertical" >
24 xmlns:android="http://schemas.android.com/apk/res/android"
25 android:layout_width="fill_parent"
26 android:layout_height="wrap_content"
27 android:layout_weight="0"
28 android:baselineAligned="true"
29 android:orientation="horizontal"
30 android:paddingTop="5dp" >
33 android:layout_width="0dp"
34 android:layout_height="wrap_content"
35 android:layout_weight="1" >
38 android:id="@+id/height_label"
39 android:layout_width="wrap_content"
40 android:layout_height="wrap_content"
41 android:text="@string/height_label" />
44 android:id="@+id/height_value"
45 android:layout_width="wrap_content"
46 android:layout_height="wrap_content"
47 android:layout_alignParentRight="true"
48 android:layout_below="@id/height_label"
50 android:textAppearance="?android:attr/textAppearanceSmall" />
54 android:layout_width="0dp"
55 android:layout_height="wrap_content"
56 android:layout_weight="1" >
59 android:id="@+id/max_height_label"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:text="@string/max_height_label" />
65 android:id="@+id/max_height_value"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:layout_alignParentRight="true"
69 android:layout_below="@id/max_height_label"
71 android:textAppearance="?android:attr/textAppearanceSmall" />
76 xmlns:android="http://schemas.android.com/apk/res/android"
77 android:layout_width="fill_parent"
78 android:layout_height="wrap_content"
79 android:layout_weight="0"
80 android:baselineAligned="true"
81 android:orientation="horizontal"
82 android:paddingTop="5dp" >
85 android:layout_width="0dp"
86 android:layout_height="wrap_content"
87 android:layout_weight="1" >
90 android:id="@+id/speed_label"
91 android:layout_width="wrap_content"
92 android:layout_height="wrap_content"
93 android:text="@string/speed_label" />
96 android:id="@+id/speed_value"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:layout_alignParentRight="true"
100 android:layout_below="@id/speed_label"
102 android:textAppearance="?android:attr/textAppearanceSmall" />
106 android:layout_width="0dp"
107 android:layout_height="wrap_content"
108 android:layout_weight="1" >
111 android:id="@+id/max_speed_label"
112 android:layout_width="wrap_content"
113 android:layout_height="wrap_content"
114 android:text="@string/max_speed_label" />
117 android:id="@+id/max_speed_value"
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:layout_alignParentRight="true"
121 android:layout_below="@id/max_speed_label"
123 android:textAppearance="?android:attr/textAppearanceSmall" />
128 xmlns:android="http://schemas.android.com/apk/res/android"
129 android:layout_width="fill_parent"
130 android:layout_height="wrap_content"
131 android:layout_weight="0"
132 android:baselineAligned="true"
133 android:orientation="horizontal"
134 android:paddingTop="5dp" >
137 android:layout_width="0dp"
138 android:layout_height="wrap_content"
139 android:layout_weight="1" >
142 android:id="@+id/accel_label"
143 android:layout_width="wrap_content"
144 android:layout_height="wrap_content"
145 android:text="@string/accel_label" />
148 android:id="@+id/accel_value"
149 android:layout_width="wrap_content"
150 android:layout_height="wrap_content"
151 android:layout_alignParentRight="true"
152 android:layout_below="@id/accel_label"
154 android:textAppearance="?android:attr/textAppearanceSmall" />
158 android:layout_width="0dp"
159 android:layout_height="wrap_content"
160 android:layout_weight="1" >
163 android:id="@+id/max_accel_label"
164 android:layout_width="wrap_content"
165 android:layout_height="wrap_content"
166 android:text="@string/max_accel_label" />
169 android:id="@+id/max_accel_value"
170 android:layout_width="wrap_content"
171 android:layout_height="wrap_content"
172 android:layout_alignParentRight="true"
173 android:layout_below="@id/max_accel_label"
175 android:textAppearance="?android:attr/textAppearanceSmall" />
180 android:layout_width="wrap_content"
181 android:layout_height="wrap_content"
182 android:paddingTop="5dp" >
185 android:id="@+id/lat_label"
186 android:layout_width="wrap_content"
187 android:layout_height="wrap_content"
188 android:text="@string/latitude_label" />
191 android:id="@+id/lat_value"
192 android:layout_width="wrap_content"
193 android:layout_height="wrap_content"
194 android:layout_alignParentRight="true"
195 android:layout_below="@id/lat_label"
197 android:textAppearance="?android:attr/textAppearanceSmall" />
201 android:layout_width="wrap_content"
202 android:layout_height="wrap_content"
203 android:paddingTop="5dp" >
206 android:id="@+id/lon_label"
207 android:layout_width="wrap_content"
208 android:layout_height="wrap_content"
209 android:text="@string/longitude_label" />
212 android:id="@+id/lon_value"
213 android:layout_width="wrap_content"
214 android:layout_height="wrap_content"
215 android:layout_alignParentRight="true"
216 android:layout_below="@id/lon_label"
218 android:textAppearance="?android:attr/textAppearanceSmall" />
222 android:layout_width="wrap_content"
223 android:layout_height="wrap_content"
224 android:paddingTop="5dp" >
227 android:id="@+id/apogee_redled"
228 android:layout_width="wrap_content"
229 android:layout_height="wrap_content"
230 android:contentDescription="@string/apogee_voltage_label"
231 android:src="@drawable/grayled" />
234 android:id="@+id/apogee_greenled"
235 android:layout_width="wrap_content"
236 android:layout_height="wrap_content"
237 android:layout_toRightOf="@id/apogee_redled"
238 android:contentDescription="@string/apogee_voltage_label"
239 android:paddingRight="5dp"
240 android:src="@drawable/grayled" />
243 android:id="@+id/apogee_voltage_label"
244 android:layout_width="wrap_content"
245 android:layout_height="wrap_content"
246 android:layout_toRightOf="@id/apogee_greenled"
247 android:text="@string/apogee_voltage_label" />
250 android:id="@+id/apogee_voltage_value"
251 android:layout_width="wrap_content"
252 android:layout_height="wrap_content"
253 android:layout_alignParentRight="true"
254 android:layout_below="@id/apogee_voltage_label"
255 android:layout_toRightOf="@id/apogee_greenled"
257 android:textAppearance="?android:attr/textAppearanceSmall" />
261 android:layout_width="wrap_content"
262 android:layout_height="wrap_content"
263 android:paddingTop="5dp" >
266 android:id="@+id/main_redled"
267 android:layout_width="wrap_content"
268 android:layout_height="wrap_content"
269 android:contentDescription="@string/main_voltage_label"
270 android:src="@drawable/grayled" />
273 android:id="@+id/main_greenled"
274 android:layout_width="wrap_content"
275 android:layout_height="wrap_content"
276 android:layout_toRightOf="@id/main_redled"
277 android:contentDescription="@string/main_voltage_label"
278 android:paddingRight="5dp"
279 android:src="@drawable/grayled" />
282 android:id="@+id/main_voltage_label"
283 android:layout_width="wrap_content"
284 android:layout_height="wrap_content"
285 android:layout_toRightOf="@id/main_greenled"
286 android:text="@string/main_voltage_label" />
289 android:id="@+id/main_voltage_value"
290 android:layout_width="wrap_content"
291 android:layout_height="wrap_content"
292 android:layout_alignParentRight="true"
293 android:layout_below="@id/main_voltage_label"
294 android:layout_toRightOf="@id/main_greenled"
296 android:textAppearance="?android:attr/textAppearanceSmall" />