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="0dp"
28 android:layout_weight="1">
33 xmlns:android="http://schemas.android.com/apk/res/android"
34 android:layout_width="fill_parent"
35 android:layout_height="wrap_content"
36 android:baselineAligned="true"
37 android:orientation="horizontal" >
40 android:layout_width="0dp"
41 android:layout_height="wrap_content"
42 android:layout_weight="1"
43 android:paddingTop="5dp" >
46 android:id="@+id/distance_label"
47 android:layout_width="wrap_content"
48 android:layout_height="wrap_content"
49 android:paddingRight="4dp"
50 android:text="@string/distance_label" />
53 android:id="@+id/distance_value"
54 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
56 android:layout_toRightOf="@+id/distance_label"
58 android:textAppearance="?android:attr/textAppearanceSmall" />
62 android:layout_width="0dp"
63 android:layout_height="wrap_content"
64 android:layout_weight="1"
65 android:paddingTop="5dp" >
68 android:id="@+id/bearing_label"
69 android:layout_width="wrap_content"
70 android:layout_height="wrap_content"
71 android:paddingRight="4dp"
72 android:text="@string/bearing_label" />
75 android:id="@+id/bearing_value"
76 android:layout_width="wrap_content"
77 android:layout_height="wrap_content"
78 android:layout_toRightOf="@+id/bearing_label"
80 android:textAppearance="?android:attr/textAppearanceSmall" />
86 xmlns:android="http://schemas.android.com/apk/res/android"
87 android:layout_width="fill_parent"
88 android:layout_height="wrap_content"
89 android:baselineAligned="true"
90 android:orientation="horizontal" >
93 android:layout_width="0dp"
94 android:layout_height="wrap_content"
95 android:layout_weight="1"
96 android:paddingTop="5dp" >
99 android:id="@+id/target_lat_label"
100 android:layout_width="wrap_content"
101 android:layout_height="wrap_content"
102 android:paddingRight="4dp"
103 android:text="@string/target_latitude_label" />
106 android:id="@+id/target_lat_value"
107 android:layout_width="wrap_content"
108 android:layout_height="wrap_content"
109 android:layout_toRightOf="@id/target_lat_label"
111 android:textAppearance="?android:attr/textAppearanceSmall" />
115 android:layout_width="0dp"
116 android:layout_height="wrap_content"
117 android:layout_weight="1"
118 android:paddingTop="5dp" >
121 android:id="@+id/target_lon_label"
122 android:layout_width="wrap_content"
123 android:layout_height="wrap_content"
124 android:paddingRight="4dp"
125 android:text="@string/target_longitude_label" />
128 android:id="@+id/target_lon_value"
129 android:layout_width="wrap_content"
130 android:layout_height="wrap_content"
131 android:layout_toRightOf="@id/target_lon_label"
133 android:textAppearance="?android:attr/textAppearanceSmall" />
138 xmlns:android="http://schemas.android.com/apk/res/android"
139 android:layout_width="fill_parent"
140 android:layout_height="wrap_content"
141 android:baselineAligned="true"
142 android:orientation="horizontal" >
145 android:layout_width="0dp"
146 android:layout_height="wrap_content"
147 android:layout_weight="1"
148 android:paddingTop="5dp" >
151 android:id="@+id/receiver_lat_label"
152 android:layout_width="wrap_content"
153 android:layout_height="wrap_content"
154 android:paddingRight="4dp"
155 android:text="@string/receiver_latitude_label" />
158 android:id="@+id/receiver_lat_value"
159 android:layout_width="wrap_content"
160 android:layout_height="wrap_content"
161 android:layout_toRightOf="@id/receiver_lat_label"
163 android:textAppearance="?android:attr/textAppearanceSmall" />
167 android:layout_width="0dp"
168 android:layout_height="wrap_content"
169 android:layout_weight="1"
170 android:paddingTop="5dp" >
173 android:id="@+id/receiver_lon_label"
174 android:layout_width="wrap_content"
175 android:layout_height="wrap_content"
176 android:paddingRight="4dp"
177 android:text="@string/receiver_longitude_label" />
180 android:id="@+id/receiver_lon_value"
181 android:layout_width="wrap_content"
182 android:layout_height="wrap_content"
183 android:layout_toRightOf="@id/receiver_lon_label"
185 android:textAppearance="?android:attr/textAppearanceSmall" />