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; version 2 of the License.
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.
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.
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" >
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">
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">
36 <org.altusmetrum.AltosDroid.AltosMapOffline android:id="@+id/map_offline"
37 android:layout_width="fill_parent"
38 android:layout_height="wrap_content"
39 android:layout_weight="1"
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" >
51 android:layout_width="0dp"
52 android:layout_height="wrap_content"
53 android:layout_weight="1"
54 android:paddingTop="5dp" >
57 android:id="@+id/distance_label"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content"
60 android:paddingRight="4dp"
61 android:text="@string/distance_label" />
64 android:id="@+id/distance_value"
65 android:layout_width="wrap_content"
66 android:layout_height="wrap_content"
67 android:layout_toRightOf="@id/distance_label"
69 android:textAppearance="?android:attr/textAppearanceSmall" />
73 android:layout_width="0dp"
74 android:layout_height="wrap_content"
75 android:layout_weight="1"
76 android:paddingTop="5dp" >
79 android:id="@+id/bearing_label"
80 android:layout_width="wrap_content"
81 android:layout_height="wrap_content"
82 android:paddingRight="4dp"
83 android:text="@string/bearing_label" />
86 android:id="@+id/bearing_value"
87 android:layout_width="wrap_content"
88 android:layout_height="wrap_content"
89 android:layout_toRightOf="@id/bearing_label"
91 android:textAppearance="?android:attr/textAppearanceSmall" />
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" >
104 android:layout_width="0dp"
105 android:layout_height="wrap_content"
106 android:layout_weight="1"
107 android:paddingTop="5dp" >
110 android:id="@+id/target_lat_label"
111 android:layout_width="wrap_content"
112 android:layout_height="wrap_content"
113 android:paddingRight="4dp"
114 android:text="@string/target_latitude_label" />
117 android:id="@+id/target_lat_value"
118 android:layout_width="wrap_content"
119 android:layout_height="wrap_content"
120 android:layout_toRightOf="@id/target_lat_label"
122 android:textAppearance="?android:attr/textAppearanceSmall" />
126 android:layout_width="0dp"
127 android:layout_height="wrap_content"
128 android:layout_weight="1"
129 android:paddingTop="5dp" >
132 android:id="@+id/target_lon_label"
133 android:layout_width="wrap_content"
134 android:layout_height="wrap_content"
135 android:paddingRight="4dp"
136 android:text="@string/target_longitude_label" />
139 android:id="@+id/target_lon_value"
140 android:layout_width="wrap_content"
141 android:layout_height="wrap_content"
142 android:layout_toRightOf="@id/target_lon_label"
144 android:textAppearance="?android:attr/textAppearanceSmall" />
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" >
156 android:layout_width="0dp"
157 android:layout_height="wrap_content"
158 android:layout_weight="1"
159 android:paddingTop="5dp" >
162 android:id="@+id/receiver_lat_label"
163 android:layout_width="wrap_content"
164 android:layout_height="wrap_content"
165 android:paddingRight="4dp"
166 android:text="@string/receiver_latitude_label" />
169 android:id="@+id/receiver_lat_value"
170 android:layout_width="wrap_content"
171 android:layout_height="wrap_content"
172 android:layout_toRightOf="@id/receiver_lat_label"
174 android:textAppearance="?android:attr/textAppearanceSmall" />
178 android:layout_width="0dp"
179 android:layout_height="wrap_content"
180 android:layout_weight="1"
181 android:paddingTop="5dp" >
184 android:id="@+id/receiver_lon_label"
185 android:layout_width="wrap_content"
186 android:layout_height="wrap_content"
187 android:paddingRight="4dp"
188 android:text="@string/receiver_longitude_label" />
191 android:id="@+id/receiver_lon_value"
192 android:layout_width="wrap_content"
193 android:layout_height="wrap_content"
194 android:layout_toRightOf="@id/receiver_lon_label"
196 android:textAppearance="?android:attr/textAppearanceSmall" />