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" >
25 android:orientation="horizontal"
26 android:layout_width="fill_parent"
27 android:layout_height="fill_parent"
28 android:layout_weight="1">
32 xmlns:android="http://schemas.android.com/apk/res/android"
33 android:layout_width="fill_parent"
34 android:layout_height="wrap_content"
35 android:baselineAligned="true"
36 android:orientation="horizontal" >
39 android:layout_width="0dp"
40 android:layout_height="wrap_content"
41 android:layout_weight="1"
42 android:paddingTop="5dp" >
45 android:id="@+id/distance_label"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:paddingRight="4dp"
49 android:text="@string/distance_label" />
52 android:id="@+id/distance_value"
53 android:layout_width="wrap_content"
54 android:layout_height="wrap_content"
55 android:layout_toRightOf="@+id/distance_label"
57 android:textAppearance="?android:attr/textAppearanceSmall" />
61 android:layout_width="0dp"
62 android:layout_height="wrap_content"
63 android:layout_weight="1"
64 android:paddingTop="5dp" >
67 android:id="@+id/bearing_label"
68 android:layout_width="wrap_content"
69 android:layout_height="wrap_content"
70 android:paddingRight="4dp"
71 android:text="@string/bearing_label" />
74 android:id="@+id/bearing_value"
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content"
77 android:layout_toRightOf="@+id/bearing_label"
79 android:textAppearance="?android:attr/textAppearanceSmall" />
85 xmlns:android="http://schemas.android.com/apk/res/android"
86 android:layout_width="fill_parent"
87 android:layout_height="wrap_content"
88 android:baselineAligned="true"
89 android:orientation="horizontal" >
92 android:layout_width="0dp"
93 android:layout_height="wrap_content"
94 android:layout_weight="1"
95 android:paddingTop="5dp" >
98 android:id="@+id/target_lat_label"
99 android:layout_width="wrap_content"
100 android:layout_height="wrap_content"
101 android:paddingRight="4dp"
102 android:text="@string/target_latitude_label" />
105 android:id="@+id/target_lat_value"
106 android:layout_width="wrap_content"
107 android:layout_height="wrap_content"
108 android:layout_toRightOf="@id/target_lat_label"
110 android:textAppearance="?android:attr/textAppearanceSmall" />
114 android:layout_width="0dp"
115 android:layout_height="wrap_content"
116 android:layout_weight="1"
117 android:paddingTop="5dp" >
120 android:id="@+id/target_lon_label"
121 android:layout_width="wrap_content"
122 android:layout_height="wrap_content"
123 android:paddingRight="4dp"
124 android:text="@string/target_longitude_label" />
127 android:id="@+id/target_lon_value"
128 android:layout_width="wrap_content"
129 android:layout_height="wrap_content"
130 android:layout_toRightOf="@id/target_lon_label"
132 android:textAppearance="?android:attr/textAppearanceSmall" />
137 xmlns:android="http://schemas.android.com/apk/res/android"
138 android:layout_width="fill_parent"
139 android:layout_height="wrap_content"
140 android:baselineAligned="true"
141 android:orientation="horizontal" >
144 android:layout_width="0dp"
145 android:layout_height="wrap_content"
146 android:layout_weight="1"
147 android:paddingTop="5dp" >
150 android:id="@+id/receiver_lat_label"
151 android:layout_width="wrap_content"
152 android:layout_height="wrap_content"
153 android:paddingRight="4dp"
154 android:text="@string/receiver_latitude_label" />
157 android:id="@+id/receiver_lat_value"
158 android:layout_width="wrap_content"
159 android:layout_height="wrap_content"
160 android:layout_toRightOf="@id/receiver_lat_label"
162 android:textAppearance="?android:attr/textAppearanceSmall" />
166 android:layout_width="0dp"
167 android:layout_height="wrap_content"
168 android:layout_weight="1"
169 android:paddingTop="5dp" >
172 android:id="@+id/receiver_lon_label"
173 android:layout_width="wrap_content"
174 android:layout_height="wrap_content"
175 android:paddingRight="4dp"
176 android:text="@string/receiver_longitude_label" />
179 android:id="@+id/receiver_lon_value"
180 android:layout_width="wrap_content"
181 android:layout_height="wrap_content"
182 android:layout_toRightOf="@id/receiver_lon_label"
184 android:textAppearance="?android:attr/textAppearanceSmall" />