b4c97f9154e2d361e68dde04be9fb0aedb4956bd
[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="fill_parent"
28             android:layout_weight="1">
29         </LinearLayout>
30
31         <LinearLayout
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" >
37
38                 <RelativeLayout
39                         android:layout_width="0dp"
40                         android:layout_height="wrap_content"
41                         android:layout_weight="1"
42                         android:paddingTop="5dp" >
43
44                         <TextView
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" />
50
51                         <TextView
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"
56                                 android:text=""
57                                 android:textAppearance="?android:attr/textAppearanceSmall" />
58                 </RelativeLayout>
59
60                 <RelativeLayout
61                         android:layout_width="0dp"
62                         android:layout_height="wrap_content"
63                         android:layout_weight="1"
64                         android:paddingTop="5dp" >
65
66                         <TextView
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" />
72
73                         <TextView
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"
78                                 android:text=""
79                                 android:textAppearance="?android:attr/textAppearanceSmall" />
80                 </RelativeLayout>
81
82         </LinearLayout>
83
84         <LinearLayout
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" >
90
91                 <RelativeLayout
92                         android:layout_width="0dp"
93                         android:layout_height="wrap_content"
94                         android:layout_weight="1"
95                         android:paddingTop="5dp" >
96
97                         <TextView
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" />
103
104                         <TextView
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"
109                                 android:text=""
110                                 android:textAppearance="?android:attr/textAppearanceSmall" />
111                 </RelativeLayout>
112
113                 <RelativeLayout
114                         android:layout_width="0dp"
115                         android:layout_height="wrap_content"
116                         android:layout_weight="1"
117                         android:paddingTop="5dp" >
118
119                         <TextView
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" />
125
126                         <TextView
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"
131                                 android:text=""
132                                 android:textAppearance="?android:attr/textAppearanceSmall" />
133                 </RelativeLayout>
134         </LinearLayout>
135
136         <LinearLayout
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" >
142
143                 <RelativeLayout
144                         android:layout_width="0dp"
145                         android:layout_height="wrap_content"
146                         android:layout_weight="1"
147                         android:paddingTop="5dp" >
148
149                         <TextView
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" />
155
156                         <TextView
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"
161                                 android:text=""
162                                 android:textAppearance="?android:attr/textAppearanceSmall" />
163                 </RelativeLayout>
164
165                 <RelativeLayout
166                         android:layout_width="0dp"
167                         android:layout_height="wrap_content"
168                         android:layout_weight="1"
169                         android:paddingTop="5dp" >
170
171                         <TextView
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" />
177
178                         <TextView
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"
183                                 android:text=""
184                                 android:textAppearance="?android:attr/textAppearanceSmall" />
185                 </RelativeLayout>
186         </LinearLayout>
187 </LinearLayout>