e6f134d8c2adcfcf3d3c1c398cec8be8ff7057e9
[fw/altos] / altosdroid / res / layout / tab_map_offline.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   <org.altusmetrum.AltosDroid.AltosMapView android:id="@+id/map_view_offline"
24                                            android:layout_width="fill_parent"
25                                            android:layout_height="wrap_content"
26                                            android:layout_weight="1"
27                                            />
28   
29   <LinearLayout
30       xmlns:android="http://schemas.android.com/apk/res/android"
31       android:layout_width="fill_parent"
32       android:layout_height="wrap_content"
33       android:baselineAligned="true"
34       android:orientation="horizontal" >
35
36     <RelativeLayout
37         android:layout_width="0dp"
38         android:layout_height="wrap_content"
39         android:layout_weight="1"
40         android:paddingTop="5dp" >
41
42       <TextView
43           android:id="@+id/distance_label_offline"
44           android:layout_width="wrap_content"
45           android:layout_height="wrap_content"
46           android:paddingRight="4dp"
47           android:text="@string/distance_label" />
48
49       <TextView
50           android:id="@+id/distance_value_offline"
51           android:layout_width="wrap_content"
52           android:layout_height="wrap_content"
53           android:layout_toRightOf="@id/distance_label_offline"
54           android:text=""
55           android:textAppearance="?android:attr/textAppearanceSmall" />
56     </RelativeLayout>
57
58     <RelativeLayout
59         android:layout_width="0dp"
60         android:layout_height="wrap_content"
61         android:layout_weight="1"
62         android:paddingTop="5dp" >
63
64       <TextView
65           android:id="@+id/bearing_label_offline"
66           android:layout_width="wrap_content"
67           android:layout_height="wrap_content"
68           android:paddingRight="4dp"
69           android:text="@string/bearing_label" />
70
71       <TextView
72           android:id="@+id/bearing_value_offline"
73           android:layout_width="wrap_content"
74           android:layout_height="wrap_content"
75           android:layout_toRightOf="@id/bearing_label_offline"
76           android:text=""
77           android:textAppearance="?android:attr/textAppearanceSmall" />
78     </RelativeLayout>
79
80   </LinearLayout>
81
82   <LinearLayout
83       xmlns:android="http://schemas.android.com/apk/res/android"
84       android:layout_width="fill_parent"
85       android:layout_height="wrap_content"
86       android:baselineAligned="true"
87       android:orientation="horizontal" >
88
89     <RelativeLayout
90         android:layout_width="0dp"
91         android:layout_height="wrap_content"
92         android:layout_weight="1"
93         android:paddingTop="5dp" >
94
95       <TextView
96           android:id="@+id/target_lat_label_offline"
97           android:layout_width="wrap_content"
98           android:layout_height="wrap_content"
99           android:paddingRight="4dp"
100           android:text="@string/target_latitude_label" />
101
102       <TextView
103           android:id="@+id/target_lat_value_offline"
104           android:layout_width="wrap_content"
105           android:layout_height="wrap_content"
106           android:layout_toRightOf="@id/target_lat_label_offline"
107           android:text=""
108           android:textAppearance="?android:attr/textAppearanceSmall" />
109     </RelativeLayout>
110
111     <RelativeLayout
112         android:layout_width="0dp"
113         android:layout_height="wrap_content"
114         android:layout_weight="1"
115         android:paddingTop="5dp" >
116
117       <TextView
118           android:id="@+id/target_lon_label_offline"
119           android:layout_width="wrap_content"
120           android:layout_height="wrap_content"
121           android:paddingRight="4dp"
122           android:text="@string/target_longitude_label" />
123
124       <TextView
125           android:id="@+id/target_lon_value_offline"
126           android:layout_width="wrap_content"
127           android:layout_height="wrap_content"
128           android:layout_toRightOf="@id/target_lon_label_offline"
129           android:text=""
130           android:textAppearance="?android:attr/textAppearanceSmall" />
131     </RelativeLayout>
132   </LinearLayout>
133
134   <LinearLayout
135       xmlns:android="http://schemas.android.com/apk/res/android"
136       android:layout_width="fill_parent"
137       android:layout_height="wrap_content"
138       android:baselineAligned="true"
139       android:orientation="horizontal" >
140
141     <RelativeLayout
142         android:layout_width="0dp"
143         android:layout_height="wrap_content"
144         android:layout_weight="1"
145         android:paddingTop="5dp" >
146
147       <TextView
148           android:id="@+id/receiver_lat_label_offline"
149           android:layout_width="wrap_content"
150           android:layout_height="wrap_content"
151           android:paddingRight="4dp"
152           android:text="@string/receiver_latitude_label" />
153
154       <TextView
155           android:id="@+id/receiver_lat_value_offline"
156           android:layout_width="wrap_content"
157           android:layout_height="wrap_content"
158           android:layout_toRightOf="@id/receiver_lat_label_offline"
159           android:text=""
160           android:textAppearance="?android:attr/textAppearanceSmall" />
161     </RelativeLayout>
162
163     <RelativeLayout
164         android:layout_width="0dp"
165         android:layout_height="wrap_content"
166         android:layout_weight="1"
167         android:paddingTop="5dp" >
168
169       <TextView
170           android:id="@+id/receiver_lon_label_offline"
171           android:layout_width="wrap_content"
172           android:layout_height="wrap_content"
173           android:paddingRight="4dp"
174           android:text="@string/receiver_longitude_label" />
175
176       <TextView
177           android:id="@+id/receiver_lon_value_offline"
178           android:layout_width="wrap_content"
179           android:layout_height="wrap_content"
180           android:layout_toRightOf="@id/receiver_lon_label_offline"
181           android:text=""
182           android:textAppearance="?android:attr/textAppearanceSmall" />
183     </RelativeLayout>
184   </LinearLayout>
185 </LinearLayout>