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" >
23 <org.altusmetrum.AltosDroid.AltosMapView android:id="@+id/map_view_offline"
24 android:layout_width="fill_parent"
25 android:layout_height="wrap_content"
26 android:layout_weight="1"
30 xmlns:android="http://schemas.android.com/apk/res/android"
31 android:layout_width="fill_parent"
32 android:layout_height="wrap_content"
33 android:baselineAligned="true"
34 android:orientation="horizontal" >
37 android:layout_width="0dp"
38 android:layout_height="wrap_content"
39 android:layout_weight="1"
40 android:paddingTop="5dp" >
43 android:id="@+id/distance_label_offline"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:paddingRight="4dp"
47 android:text="@string/distance_label" />
50 android:id="@+id/distance_value_offline"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:layout_toRightOf="@id/distance_label_offline"
55 android:textAppearance="?android:attr/textAppearanceSmall" />
59 android:layout_width="0dp"
60 android:layout_height="wrap_content"
61 android:layout_weight="1"
62 android:paddingTop="5dp" >
65 android:id="@+id/bearing_label_offline"
66 android:layout_width="wrap_content"
67 android:layout_height="wrap_content"
68 android:paddingRight="4dp"
69 android:text="@string/bearing_label" />
72 android:id="@+id/bearing_value_offline"
73 android:layout_width="wrap_content"
74 android:layout_height="wrap_content"
75 android:layout_toRightOf="@id/bearing_label_offline"
77 android:textAppearance="?android:attr/textAppearanceSmall" />
83 xmlns:android="http://schemas.android.com/apk/res/android"
84 android:layout_width="fill_parent"
85 android:layout_height="wrap_content"
86 android:baselineAligned="true"
87 android:orientation="horizontal" >
90 android:layout_width="0dp"
91 android:layout_height="wrap_content"
92 android:layout_weight="1"
93 android:paddingTop="5dp" >
96 android:id="@+id/target_lat_label_offline"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:paddingRight="4dp"
100 android:text="@string/target_latitude_label" />
103 android:id="@+id/target_lat_value_offline"
104 android:layout_width="wrap_content"
105 android:layout_height="wrap_content"
106 android:layout_toRightOf="@id/target_lat_label_offline"
108 android:textAppearance="?android:attr/textAppearanceSmall" />
112 android:layout_width="0dp"
113 android:layout_height="wrap_content"
114 android:layout_weight="1"
115 android:paddingTop="5dp" >
118 android:id="@+id/target_lon_label_offline"
119 android:layout_width="wrap_content"
120 android:layout_height="wrap_content"
121 android:paddingRight="4dp"
122 android:text="@string/target_longitude_label" />
125 android:id="@+id/target_lon_value_offline"
126 android:layout_width="wrap_content"
127 android:layout_height="wrap_content"
128 android:layout_toRightOf="@id/target_lon_label_offline"
130 android:textAppearance="?android:attr/textAppearanceSmall" />
135 xmlns:android="http://schemas.android.com/apk/res/android"
136 android:layout_width="fill_parent"
137 android:layout_height="wrap_content"
138 android:baselineAligned="true"
139 android:orientation="horizontal" >
142 android:layout_width="0dp"
143 android:layout_height="wrap_content"
144 android:layout_weight="1"
145 android:paddingTop="5dp" >
148 android:id="@+id/receiver_lat_label_offline"
149 android:layout_width="wrap_content"
150 android:layout_height="wrap_content"
151 android:paddingRight="4dp"
152 android:text="@string/receiver_latitude_label" />
155 android:id="@+id/receiver_lat_value_offline"
156 android:layout_width="wrap_content"
157 android:layout_height="wrap_content"
158 android:layout_toRightOf="@id/receiver_lat_label_offline"
160 android:textAppearance="?android:attr/textAppearanceSmall" />
164 android:layout_width="0dp"
165 android:layout_height="wrap_content"
166 android:layout_weight="1"
167 android:paddingTop="5dp" >
170 android:id="@+id/receiver_lon_label_offline"
171 android:layout_width="wrap_content"
172 android:layout_height="wrap_content"
173 android:paddingRight="4dp"
174 android:text="@string/receiver_longitude_label" />
177 android:id="@+id/receiver_lon_value_offline"
178 android:layout_width="wrap_content"
179 android:layout_height="wrap_content"
180 android:layout_toRightOf="@id/receiver_lon_label_offline"
182 android:textAppearance="?android:attr/textAppearanceSmall" />