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">
31 android:id="@+id/map_online"
32 android:orientation="horizontal"
33 android:layout_width="fill_parent"
34 android:layout_height="fill_parent"
35 android:layout_weight="1">
38 <org.altusmetrum.AltosDroid.AltosMapOffline
39 android:id="@+id/map_offline"
40 android:layout_width="fill_parent"
41 android:layout_height="wrap_content"
42 android:layout_weight="1"/>
46 xmlns:android="http://schemas.android.com/apk/res/android"
47 android:layout_width="fill_parent"
48 android:layout_height="wrap_content"
49 android:baselineAligned="true"
50 android:orientation="horizontal" >
53 android:layout_width="0dp"
54 android:layout_height="wrap_content"
55 android:layout_weight="1"
56 android:paddingTop="5dp" >
59 android:id="@+id/distance_label"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:paddingRight="4dp"
63 android:text="@string/distance_label" />
66 android:id="@+id/distance_value"
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
69 android:layout_toRightOf="@id/distance_label"
71 android:textAppearance="?android:attr/textAppearanceSmall" />
75 android:layout_width="0dp"
76 android:layout_height="wrap_content"
77 android:layout_weight="1"
78 android:paddingTop="5dp" >
81 android:id="@+id/bearing_label"
82 android:layout_width="wrap_content"
83 android:layout_height="wrap_content"
84 android:paddingRight="4dp"
85 android:text="@string/bearing_label" />
88 android:id="@+id/bearing_value"
89 android:layout_width="wrap_content"
90 android:layout_height="wrap_content"
91 android:layout_toRightOf="@id/bearing_label"
93 android:textAppearance="?android:attr/textAppearanceSmall" />
99 xmlns:android="http://schemas.android.com/apk/res/android"
100 android:layout_width="fill_parent"
101 android:layout_height="wrap_content"
102 android:baselineAligned="true"
103 android:orientation="horizontal" >
106 android:layout_width="0dp"
107 android:layout_height="wrap_content"
108 android:layout_weight="1"
109 android:paddingTop="5dp" >
112 android:id="@+id/target_lat_label"
113 android:layout_width="wrap_content"
114 android:layout_height="wrap_content"
115 android:paddingRight="4dp"
116 android:text="@string/target_latitude_label" />
119 android:id="@+id/target_lat_value"
120 android:layout_width="wrap_content"
121 android:layout_height="wrap_content"
122 android:layout_toRightOf="@id/target_lat_label"
124 android:textAppearance="?android:attr/textAppearanceSmall" />
128 android:layout_width="0dp"
129 android:layout_height="wrap_content"
130 android:layout_weight="1"
131 android:paddingTop="5dp" >
134 android:id="@+id/target_lon_label"
135 android:layout_width="wrap_content"
136 android:layout_height="wrap_content"
137 android:paddingRight="4dp"
138 android:text="@string/target_longitude_label" />
141 android:id="@+id/target_lon_value"
142 android:layout_width="wrap_content"
143 android:layout_height="wrap_content"
144 android:layout_toRightOf="@id/target_lon_label"
146 android:textAppearance="?android:attr/textAppearanceSmall" />
151 xmlns:android="http://schemas.android.com/apk/res/android"
152 android:layout_width="fill_parent"
153 android:layout_height="wrap_content"
154 android:baselineAligned="true"
155 android:orientation="horizontal" >
158 android:layout_width="0dp"
159 android:layout_height="wrap_content"
160 android:layout_weight="1"
161 android:paddingTop="5dp" >
164 android:id="@+id/receiver_lat_label"
165 android:layout_width="wrap_content"
166 android:layout_height="wrap_content"
167 android:paddingRight="4dp"
168 android:text="@string/receiver_latitude_label" />
171 android:id="@+id/receiver_lat_value"
172 android:layout_width="wrap_content"
173 android:layout_height="wrap_content"
174 android:layout_toRightOf="@id/receiver_lat_label"
176 android:textAppearance="?android:attr/textAppearanceSmall" />
180 android:layout_width="0dp"
181 android:layout_height="wrap_content"
182 android:layout_weight="1"
183 android:paddingTop="5dp" >
186 android:id="@+id/receiver_lon_label"
187 android:layout_width="wrap_content"
188 android:layout_height="wrap_content"
189 android:paddingRight="4dp"
190 android:text="@string/receiver_longitude_label" />
193 android:id="@+id/receiver_lon_value"
194 android:layout_width="wrap_content"
195 android:layout_height="wrap_content"
196 android:layout_toRightOf="@id/receiver_lon_label"
198 android:textAppearance="?android:attr/textAppearanceSmall" />