altosdroid: Clean up tab layout
[fw/altos] / altosdroid / res / layout / tab_recover.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; version 2 of the License.
8
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.
13
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.
17 -->
18 <LinearLayout
19     xmlns:android="http://schemas.android.com/apk/res/android"
20     android:layout_width="fill_parent"
21     android:layout_height="wrap_content"
22     android:orientation="vertical" >
23
24   <LinearLayout
25       xmlns:android="http://schemas.android.com/apk/res/android"
26       android:layout_weight="0"
27       android:layout_width="fill_parent"
28       android:layout_height="wrap_content"
29       android:orientation="vertical" >
30
31     <RelativeLayout
32         android:layout_gravity="fill"
33         android:layout_weight="1"
34         android:layout_width="wrap_content"
35         android:layout_height="wrap_content" >
36
37       <TextView
38           android:id="@+id/bearing_label"
39           android:layout_width="wrap_content"
40           android:layout_height="wrap_content"
41           android:text="@string/bearing_label" />
42
43       <TextView
44           android:id="@+id/bearing_value"
45           android:layout_width="wrap_content"
46           android:layout_height="wrap_content"
47           android:layout_alignParentRight="true"
48           android:layout_below="@+id/bearing_label"
49           android:text=""
50           android:textAppearance="?android:attr/textAppearanceSmall" />
51     </RelativeLayout>
52
53     <RelativeLayout
54         android:layout_gravity="fill"
55         android:layout_weight="1"
56         android:layout_width="wrap_content"
57         android:layout_height="wrap_content" >
58
59       <TextView
60           android:id="@+id/direction_label"
61           android:layout_width="wrap_content"
62           android:layout_height="wrap_content"
63           android:text="@string/direction_label" />
64
65       <TextView
66           android:id="@+id/direction_value"
67           android:layout_width="wrap_content"
68           android:layout_height="wrap_content"
69           android:layout_alignParentRight="true"
70           android:layout_below="@+id/direction_label"
71           android:text=""
72           android:textAppearance="?android:attr/textAppearanceSmall" />
73     </RelativeLayout>
74
75     <RelativeLayout
76         android:layout_gravity="fill"
77         android:layout_weight="1"
78         android:layout_width="wrap_content"
79         android:layout_height="wrap_content">
80
81       <TextView
82           android:id="@+id/distance_label"
83           android:layout_width="wrap_content"
84           android:layout_height="wrap_content"
85           android:text="@string/distance_label" />
86
87       <TextView
88           android:id="@+id/distance_value"
89           android:layout_width="wrap_content"
90           android:layout_height="wrap_content"
91           android:layout_alignParentRight="true"
92           android:layout_below="@+id/distance_label"
93           android:text=""
94           android:textAppearance="?android:attr/textAppearanceSmall" />
95     </RelativeLayout>
96
97     <RelativeLayout
98         android:layout_gravity="fill"
99         android:layout_weight="1"
100         android:layout_width="wrap_content"
101         android:layout_height="wrap_content">
102
103       <TextView
104           android:id="@+id/target_lat_label"
105           android:layout_width="wrap_content"
106           android:layout_height="wrap_content"
107           android:text="@string/target_latitude_label" />
108
109       <TextView
110           android:id="@+id/target_lat_value"
111           android:layout_width="wrap_content"
112           android:layout_height="wrap_content"
113           android:layout_alignParentRight="true"
114           android:layout_below="@id/target_lat_label"
115           android:text=""
116           android:textAppearance="?android:attr/textAppearanceSmall" />
117     </RelativeLayout>
118
119     <RelativeLayout
120         android:layout_gravity="fill"
121         android:layout_weight="1"
122         android:layout_width="wrap_content"
123         android:layout_height="wrap_content">
124
125       <TextView
126           android:id="@+id/target_lon_label"
127           android:layout_width="wrap_content"
128           android:layout_height="wrap_content"
129           android:text="@string/target_longitude_label" />
130
131       <TextView
132           android:id="@+id/target_lon_value"
133           android:layout_width="wrap_content"
134           android:layout_height="wrap_content"
135           android:layout_alignParentRight="true"
136           android:layout_below="@id/target_lon_label"
137           android:text=""
138           android:textAppearance="?android:attr/textAppearanceSmall" />
139     </RelativeLayout>
140
141     <RelativeLayout
142         android:layout_gravity="fill"
143         android:layout_weight="1"
144         android:layout_width="wrap_content"
145         android:layout_height="wrap_content">
146
147       <TextView
148           android:id="@+id/receiver_lat_label"
149           android:layout_width="wrap_content"
150           android:layout_height="wrap_content"
151           android:text="@string/receiver_latitude_label" />
152
153       <TextView
154           android:id="@+id/receiver_lat_value"
155           android:layout_width="wrap_content"
156           android:layout_height="wrap_content"
157           android:layout_alignParentRight="true"
158           android:layout_below="@id/receiver_lat_label"
159           android:text=""
160           android:textAppearance="?android:attr/textAppearanceSmall" />
161     </RelativeLayout>
162
163     <RelativeLayout
164         android:layout_gravity="fill"
165         android:layout_weight="1"
166         android:layout_width="wrap_content"
167         android:layout_height="wrap_content">
168
169       <TextView
170           android:id="@+id/receiver_lon_label"
171           android:layout_width="wrap_content"
172           android:layout_height="wrap_content"
173           android:text="@string/receiver_longitude_label" />
174
175       <TextView
176           android:id="@+id/receiver_lon_value"
177           android:layout_width="wrap_content"
178           android:layout_height="wrap_content"
179           android:layout_alignParentRight="true"
180           android:layout_below="@id/receiver_lon_label"
181           android:text=""
182           android:textAppearance="?android:attr/textAppearanceSmall" />
183     </RelativeLayout>
184
185     <RelativeLayout
186         android:layout_gravity="fill"
187         android:layout_weight="1"
188         android:layout_width="wrap_content"
189         android:layout_height="wrap_content">
190
191       <TextView
192           android:id="@+id/max_height_label"
193           android:layout_width="wrap_content"
194           android:layout_height="wrap_content"
195           android:text="@string/max_height_label" />
196
197       <TextView
198           android:id="@+id/max_height_value"
199           android:layout_width="wrap_content"
200           android:layout_height="wrap_content"
201           android:layout_alignParentRight="true"
202           android:layout_below="@id/max_height_label"
203           android:text=""
204           android:textAppearance="?android:attr/textAppearanceSmall" />
205     </RelativeLayout>
206
207     <RelativeLayout
208         android:layout_gravity="fill"
209         android:layout_weight="1"
210         android:layout_width="wrap_content"
211         android:layout_height="wrap_content">
212
213       <TextView
214           android:id="@+id/max_speed_label"
215           android:layout_width="wrap_content"
216           android:layout_height="wrap_content"
217           android:text="@string/max_speed_label" />
218
219       <TextView
220           android:id="@+id/max_speed_value"
221           android:layout_width="wrap_content"
222           android:layout_height="wrap_content"
223           android:layout_alignParentRight="true"
224           android:layout_below="@id/max_speed_label"
225           android:text=""
226           android:textAppearance="?android:attr/textAppearanceSmall" />
227     </RelativeLayout>
228
229     <RelativeLayout
230         android:layout_gravity="fill"
231         android:layout_weight="1"
232         android:layout_width="wrap_content"
233         android:layout_height="wrap_content">
234
235       <TextView
236           android:id="@+id/max_accel_label"
237           android:layout_width="wrap_content"
238           android:layout_height="wrap_content"
239           android:text="@string/max_accel_label" />
240
241       <TextView
242           android:id="@+id/max_accel_value"
243           android:layout_width="wrap_content"
244           android:layout_height="wrap_content"
245           android:layout_alignParentRight="true"
246           android:layout_below="@id/max_accel_label"
247           android:text=""
248           android:textAppearance="?android:attr/textAppearanceSmall" />
249     </RelativeLayout>
250   </LinearLayout>
251 </LinearLayout>