Remove ant build files
[fw/altos] / altosdroid / res / layout / tab_map.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; either version 2 of the License, or
8     (at your option) any later version.
9
10      This program is distributed in the hope that it will be useful, but
11      WITHOUT ANY WARRANTY; without even the implied warranty of
12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13      General Public License for more details.
14
15      You should have received a copy of the GNU General Public License along
16      with this program; if not, write to the Free Software Foundation, Inc.,
17      59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20         android:layout_width="match_parent"
21         android:layout_height="match_parent"
22         android:orientation="vertical" >
23
24   <FrameLayout
25       android:layout_width="fill_parent"
26       android:layout_height="wrap_content"
27       android:baselineAligned="true"
28       android:orientation="horizontal"
29       android:layout_weight="1">
30
31     <LinearLayout
32         android:id="@+id/map_online"
33         android:orientation="horizontal"
34         android:layout_width="fill_parent"
35         android:layout_height="fill_parent"
36         android:layout_weight="1">
37     </LinearLayout>
38
39     <org.altusmetrum.AltosDroid.AltosMapOffline
40         android:id="@+id/map_offline"
41         android:layout_width="fill_parent"
42         android:layout_height="wrap_content"
43         android:layout_weight="1"/>
44   </FrameLayout>
45   
46   <LinearLayout
47       xmlns:android="http://schemas.android.com/apk/res/android"
48       android:layout_width="fill_parent"
49       android:layout_height="wrap_content"
50       android:baselineAligned="true"
51       android:orientation="horizontal" >
52
53     <RelativeLayout
54         android:layout_width="0dp"
55         android:layout_height="wrap_content"
56         android:layout_weight="1"
57         android:paddingTop="5dp" >
58
59       <TextView
60           android:id="@+id/distance_label"
61           android:layout_width="wrap_content"
62           android:layout_height="wrap_content"
63           android:paddingRight="4dp"
64           android:text="@string/distance_label" />
65
66       <TextView
67           android:id="@+id/distance_value"
68           android:layout_width="wrap_content"
69           android:layout_height="wrap_content"
70           android:layout_toRightOf="@id/distance_label"
71           android:text=""
72           android:textAppearance="?android:attr/textAppearanceSmall" />
73     </RelativeLayout>
74
75     <RelativeLayout
76         android:layout_width="0dp"
77         android:layout_height="wrap_content"
78         android:layout_weight="1"
79         android:paddingTop="5dp" >
80
81       <TextView
82           android:id="@+id/bearing_label"
83           android:layout_width="wrap_content"
84           android:layout_height="wrap_content"
85           android:paddingRight="4dp"
86           android:text="@string/bearing_label" />
87
88       <TextView
89           android:id="@+id/bearing_value"
90           android:layout_width="wrap_content"
91           android:layout_height="wrap_content"
92           android:layout_toRightOf="@id/bearing_label"
93           android:text=""
94           android:textAppearance="?android:attr/textAppearanceSmall" />
95     </RelativeLayout>
96
97   </LinearLayout>
98
99   <LinearLayout
100       xmlns:android="http://schemas.android.com/apk/res/android"
101       android:layout_width="fill_parent"
102       android:layout_height="wrap_content"
103       android:baselineAligned="true"
104       android:orientation="horizontal" >
105
106     <RelativeLayout
107         android:layout_width="0dp"
108         android:layout_height="wrap_content"
109         android:layout_weight="1"
110         android:paddingTop="5dp" >
111
112       <TextView
113           android:id="@+id/target_lat_label"
114           android:layout_width="wrap_content"
115           android:layout_height="wrap_content"
116           android:paddingRight="4dp"
117           android:text="@string/target_latitude_label" />
118
119       <TextView
120           android:id="@+id/target_lat_value"
121           android:layout_width="wrap_content"
122           android:layout_height="wrap_content"
123           android:layout_toRightOf="@id/target_lat_label"
124           android:text=""
125           android:textAppearance="?android:attr/textAppearanceSmall" />
126     </RelativeLayout>
127
128     <RelativeLayout
129         android:layout_width="0dp"
130         android:layout_height="wrap_content"
131         android:layout_weight="1"
132         android:paddingTop="5dp" >
133
134       <TextView
135           android:id="@+id/target_lon_label"
136           android:layout_width="wrap_content"
137           android:layout_height="wrap_content"
138           android:paddingRight="4dp"
139           android:text="@string/target_longitude_label" />
140
141       <TextView
142           android:id="@+id/target_lon_value"
143           android:layout_width="wrap_content"
144           android:layout_height="wrap_content"
145           android:layout_toRightOf="@id/target_lon_label"
146           android:text=""
147           android:textAppearance="?android:attr/textAppearanceSmall" />
148     </RelativeLayout>
149   </LinearLayout>
150
151   <LinearLayout
152       xmlns:android="http://schemas.android.com/apk/res/android"
153       android:layout_width="fill_parent"
154       android:layout_height="wrap_content"
155       android:baselineAligned="true"
156       android:orientation="horizontal" >
157
158     <RelativeLayout
159         android:layout_width="0dp"
160         android:layout_height="wrap_content"
161         android:layout_weight="1"
162         android:paddingTop="5dp" >
163
164       <TextView
165           android:id="@+id/receiver_lat_label"
166           android:layout_width="wrap_content"
167           android:layout_height="wrap_content"
168           android:paddingRight="4dp"
169           android:text="@string/receiver_latitude_label" />
170
171       <TextView
172           android:id="@+id/receiver_lat_value"
173           android:layout_width="wrap_content"
174           android:layout_height="wrap_content"
175           android:layout_toRightOf="@id/receiver_lat_label"
176           android:text=""
177           android:textAppearance="?android:attr/textAppearanceSmall" />
178     </RelativeLayout>
179
180     <RelativeLayout
181         android:layout_width="0dp"
182         android:layout_height="wrap_content"
183         android:layout_weight="1"
184         android:paddingTop="5dp" >
185
186       <TextView
187           android:id="@+id/receiver_lon_label"
188           android:layout_width="wrap_content"
189           android:layout_height="wrap_content"
190           android:paddingRight="4dp"
191           android:text="@string/receiver_longitude_label" />
192
193       <TextView
194           android:id="@+id/receiver_lon_value"
195           android:layout_width="wrap_content"
196           android:layout_height="wrap_content"
197           android:layout_toRightOf="@id/receiver_lon_label"
198           android:text=""
199           android:textAppearance="?android:attr/textAppearanceSmall" />
200     </RelativeLayout>
201   </LinearLayout>
202 </LinearLayout>