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:stretchColumns="1,3"
49 android:layout_width="fill_parent"
50 android:layout_height="wrap_content"
51 android:baselineAligned="true"
52 android:orientation="horizontal" >
55 android:layout_gravity="center"
56 android:layout_weight="1"
57 android:padding="2dip"
58 android:layout_width="wrap_content"
59 android:layout_height="wrap_content">
61 android:id="@+id/distance_label"
62 android:layout_width="wrap_content"
63 android:layout_height="wrap_content"
64 android:paddingRight="4dp"
65 android:text="@string/distance_label" />
68 android:id="@+id/distance_value"
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:layout_weight="1"
75 android:id="@+id/bearing_label"
76 android:layout_width="wrap_content"
77 android:layout_height="wrap_content"
78 android:paddingRight="4dp"
79 android:text="@string/bearing_label" />
82 android:id="@+id/bearing_value"
83 android:layout_width="wrap_content"
84 android:layout_height="wrap_content"
90 xmlns:android="http://schemas.android.com/apk/res/android"
91 android:stretchColumns="1,2"
92 android:layout_width="wrap_content"
93 android:layout_height="wrap_content"
94 android:baselineAligned="true"
95 android:orientation="horizontal" >
98 android:layout_gravity="center"
99 android:layout_weight="1"
100 android:padding="2dip"
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content">
105 android:id="@+id/target_pos_label"
106 android:layout_width="wrap_content"
107 android:layout_height="wrap_content"
108 android:paddingRight="4dp"
109 android:text="@string/target_pos_label" />
112 android:id="@+id/target_lat_value"
113 android:layout_width="wrap_content"
114 android:layout_height="wrap_content"
118 android:id="@+id/target_lon_value"
119 android:layout_width="wrap_content"
120 android:layout_height="wrap_content"
125 android:layout_gravity="center"
126 android:layout_weight="1"
127 android:padding="2dip"
128 android:layout_width="wrap_content"
129 android:layout_height="wrap_content">
132 android:id="@+id/receiver_pos_label"
133 android:layout_width="wrap_content"
134 android:layout_height="wrap_content"
135 android:paddingRight="4dp"
136 android:text="@string/receiver_pos_label" />
139 android:id="@+id/receiver_lat_value"
140 android:layout_width="wrap_content"
141 android:layout_height="wrap_content"
145 android:id="@+id/receiver_lon_value"
146 android:layout_width="wrap_content"
147 android:layout_height="wrap_content"