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; either version 2 of the License, or
8 (at your option) any later version.
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.
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.
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" >
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">
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">
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"/>
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" >
54 android:layout_width="0dp"
55 android:layout_height="wrap_content"
56 android:layout_weight="1"
57 android:paddingTop="5dp" >
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" />
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"
72 android:textAppearance="?android:attr/textAppearanceSmall" />
76 android:layout_width="0dp"
77 android:layout_height="wrap_content"
78 android:layout_weight="1"
79 android:paddingTop="5dp" >
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" />
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"
94 android:textAppearance="?android:attr/textAppearanceSmall" />
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" >
107 android:layout_width="0dp"
108 android:layout_height="wrap_content"
109 android:layout_weight="1"
110 android:paddingTop="5dp" >
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" />
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"
125 android:textAppearance="?android:attr/textAppearanceSmall" />
129 android:layout_width="0dp"
130 android:layout_height="wrap_content"
131 android:layout_weight="1"
132 android:paddingTop="5dp" >
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" />
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"
147 android:textAppearance="?android:attr/textAppearanceSmall" />
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" >
159 android:layout_width="0dp"
160 android:layout_height="wrap_content"
161 android:layout_weight="1"
162 android:paddingTop="5dp" >
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" />
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"
177 android:textAppearance="?android:attr/textAppearanceSmall" />
181 android:layout_width="0dp"
182 android:layout_height="wrap_content"
183 android:layout_weight="1"
184 android:paddingTop="5dp" >
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" />
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"
199 android:textAppearance="?android:attr/textAppearanceSmall" />