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