1b0f28a7d0bc0ac1f3be4df0b4da65b90a51fc23
[fw/altos] / altosdroid / res / layout / tab_map_offline.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="match_parent"
20         android:layout_height="match_parent"
21         android:orientation="vertical" >
22
23   <FrameLayout
24       android:layout_width="fill_parent"
25       android:layout_height="wrap_content"
26       android:baselineAligned="true"
27       android:orientation="horizontal"
28       android:layout_weight="1">
29     <LinearLayout
30         android:id="@+id/map_online"
31         android:orientation="horizontal"
32         android:layout_width="fill_parent"
33         android:layout_height="fill_parent"
34         android:layout_weight="1">
35     </LinearLayout>
36     <org.altusmetrum.AltosDroid.AltosMapOffline android:id="@+id/map_view_offline"
37                                                 android:layout_width="fill_parent"
38                                                 android:layout_height="wrap_content"
39                                                 android:layout_weight="1"
40                                                 />
41   </FrameLayout>
42   
43   <LinearLayout
44       xmlns:android="http://schemas.android.com/apk/res/android"
45       android:layout_width="fill_parent"
46       android:layout_height="wrap_content"
47       android:baselineAligned="true"
48       android:orientation="horizontal" >
49
50     <RelativeLayout
51         android:layout_width="0dp"
52         android:layout_height="wrap_content"
53         android:layout_weight="1"
54         android:paddingTop="5dp" >
55
56       <TextView
57           android:id="@+id/distance_label_offline"
58           android:layout_width="wrap_content"
59           android:layout_height="wrap_content"
60           android:paddingRight="4dp"
61           android:text="@string/distance_label" />
62
63       <TextView
64           android:id="@+id/distance_value_offline"
65           android:layout_width="wrap_content"
66           android:layout_height="wrap_content"
67           android:layout_toRightOf="@id/distance_label_offline"
68           android:text=""
69           android:textAppearance="?android:attr/textAppearanceSmall" />
70     </RelativeLayout>
71
72     <RelativeLayout
73         android:layout_width="0dp"
74         android:layout_height="wrap_content"
75         android:layout_weight="1"
76         android:paddingTop="5dp" >
77
78       <TextView
79           android:id="@+id/bearing_label_offline"
80           android:layout_width="wrap_content"
81           android:layout_height="wrap_content"
82           android:paddingRight="4dp"
83           android:text="@string/bearing_label" />
84
85       <TextView
86           android:id="@+id/bearing_value_offline"
87           android:layout_width="wrap_content"
88           android:layout_height="wrap_content"
89           android:layout_toRightOf="@id/bearing_label_offline"
90           android:text=""
91           android:textAppearance="?android:attr/textAppearanceSmall" />
92     </RelativeLayout>
93
94   </LinearLayout>
95
96   <LinearLayout
97       xmlns:android="http://schemas.android.com/apk/res/android"
98       android:layout_width="fill_parent"
99       android:layout_height="wrap_content"
100       android:baselineAligned="true"
101       android:orientation="horizontal" >
102
103     <RelativeLayout
104         android:layout_width="0dp"
105         android:layout_height="wrap_content"
106         android:layout_weight="1"
107         android:paddingTop="5dp" >
108
109       <TextView
110           android:id="@+id/target_lat_label_offline"
111           android:layout_width="wrap_content"
112           android:layout_height="wrap_content"
113           android:paddingRight="4dp"
114           android:text="@string/target_latitude_label" />
115
116       <TextView
117           android:id="@+id/target_lat_value_offline"
118           android:layout_width="wrap_content"
119           android:layout_height="wrap_content"
120           android:layout_toRightOf="@id/target_lat_label_offline"
121           android:text=""
122           android:textAppearance="?android:attr/textAppearanceSmall" />
123     </RelativeLayout>
124
125     <RelativeLayout
126         android:layout_width="0dp"
127         android:layout_height="wrap_content"
128         android:layout_weight="1"
129         android:paddingTop="5dp" >
130
131       <TextView
132           android:id="@+id/target_lon_label_offline"
133           android:layout_width="wrap_content"
134           android:layout_height="wrap_content"
135           android:paddingRight="4dp"
136           android:text="@string/target_longitude_label" />
137
138       <TextView
139           android:id="@+id/target_lon_value_offline"
140           android:layout_width="wrap_content"
141           android:layout_height="wrap_content"
142           android:layout_toRightOf="@id/target_lon_label_offline"
143           android:text=""
144           android:textAppearance="?android:attr/textAppearanceSmall" />
145     </RelativeLayout>
146   </LinearLayout>
147
148   <LinearLayout
149       xmlns:android="http://schemas.android.com/apk/res/android"
150       android:layout_width="fill_parent"
151       android:layout_height="wrap_content"
152       android:baselineAligned="true"
153       android:orientation="horizontal" >
154
155     <RelativeLayout
156         android:layout_width="0dp"
157         android:layout_height="wrap_content"
158         android:layout_weight="1"
159         android:paddingTop="5dp" >
160
161       <TextView
162           android:id="@+id/receiver_lat_label_offline"
163           android:layout_width="wrap_content"
164           android:layout_height="wrap_content"
165           android:paddingRight="4dp"
166           android:text="@string/receiver_latitude_label" />
167
168       <TextView
169           android:id="@+id/receiver_lat_value_offline"
170           android:layout_width="wrap_content"
171           android:layout_height="wrap_content"
172           android:layout_toRightOf="@id/receiver_lat_label_offline"
173           android:text=""
174           android:textAppearance="?android:attr/textAppearanceSmall" />
175     </RelativeLayout>
176
177     <RelativeLayout
178         android:layout_width="0dp"
179         android:layout_height="wrap_content"
180         android:layout_weight="1"
181         android:paddingTop="5dp" >
182
183       <TextView
184           android:id="@+id/receiver_lon_label_offline"
185           android:layout_width="wrap_content"
186           android:layout_height="wrap_content"
187           android:paddingRight="4dp"
188           android:text="@string/receiver_longitude_label" />
189
190       <TextView
191           android:id="@+id/receiver_lon_value_offline"
192           android:layout_width="wrap_content"
193           android:layout_height="wrap_content"
194           android:layout_toRightOf="@id/receiver_lon_label_offline"
195           android:text=""
196           android:textAppearance="?android:attr/textAppearanceSmall" />
197     </RelativeLayout>
198   </LinearLayout>
199 </LinearLayout>