f611ae481b423bb821f364d351f6fcec98c994d8
[fw/altos] / altosdroid / res / layout / tab_map.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright © 2013 Mike Beattie <mike@ethernal.org>
4
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.
8
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.
13
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.
17 -->
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" >
22
23         <LinearLayout
24             android:id="@+id/map"
25                 android:orientation="horizontal"
26                 android:layout_width="fill_parent"
27                 android:layout_height="0dp"
28                 android:layout_weight="1">
29
30         </LinearLayout>
31
32         <LinearLayout
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" >
38
39                 <RelativeLayout
40                         android:layout_width="0dp"
41                         android:layout_height="wrap_content"
42                         android:layout_weight="1"
43                         android:paddingTop="5dp" >
44
45                         <TextView
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" />
51
52                         <TextView
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"
57                                 android:text=""
58                                 android:textAppearance="?android:attr/textAppearanceSmall" />
59                 </RelativeLayout>
60
61                 <RelativeLayout
62                         android:layout_width="0dp"
63                         android:layout_height="wrap_content"
64                         android:layout_weight="1"
65                         android:paddingTop="5dp" >
66
67                         <TextView
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" />
73
74                         <TextView
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"
79                                 android:text=""
80                                 android:textAppearance="?android:attr/textAppearanceSmall" />
81                 </RelativeLayout>
82
83         </LinearLayout>
84
85         <LinearLayout
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" >
91
92                 <RelativeLayout
93                         android:layout_width="0dp"
94                         android:layout_height="wrap_content"
95                         android:layout_weight="1"
96                         android:paddingTop="5dp" >
97
98                         <TextView
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" />
104
105                         <TextView
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"
110                                 android:text=""
111                                 android:textAppearance="?android:attr/textAppearanceSmall" />
112                 </RelativeLayout>
113
114                 <RelativeLayout
115                         android:layout_width="0dp"
116                         android:layout_height="wrap_content"
117                         android:layout_weight="1"
118                         android:paddingTop="5dp" >
119
120                         <TextView
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" />
126
127                         <TextView
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"
132                                 android:text=""
133                                 android:textAppearance="?android:attr/textAppearanceSmall" />
134                 </RelativeLayout>
135         </LinearLayout>
136
137         <LinearLayout
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" >
143
144                 <RelativeLayout
145                         android:layout_width="0dp"
146                         android:layout_height="wrap_content"
147                         android:layout_weight="1"
148                         android:paddingTop="5dp" >
149
150                         <TextView
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" />
156
157                         <TextView
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"
162                                 android:text=""
163                                 android:textAppearance="?android:attr/textAppearanceSmall" />
164                 </RelativeLayout>
165
166                 <RelativeLayout
167                         android:layout_width="0dp"
168                         android:layout_height="wrap_content"
169                         android:layout_weight="1"
170                         android:paddingTop="5dp" >
171
172                         <TextView
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" />
178
179                         <TextView
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"
184                                 android:text=""
185                                 android:textAppearance="?android:attr/textAppearanceSmall" />
186                 </RelativeLayout>
187         </LinearLayout>
188 </LinearLayout>