b9f4e69e7267d3d48dea9fca2d307ac0bf77cddc
[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: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_alignParentRight="true"
56                                 android:layout_below="@+id/distance_label"
57                                 android:text=""
58                                 android:textAppearance="?android:attr/textAppearanceLarge" />
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: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_alignParentRight="true"
78                                 android:layout_below="@+id/bearing_label"
79                                 android:text=""
80                                 android:textAppearance="?android:attr/textAppearanceLarge" />
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/lat_label"
100                                 android:layout_width="wrap_content"
101                                 android:layout_height="wrap_content"
102                                 android:text="@string/latitude_label" />
103
104                         <TextView
105                                 android:id="@+id/lat_value"
106                                 android:layout_width="wrap_content"
107                                 android:layout_height="wrap_content"
108                                 android:layout_alignParentRight="true"
109                                 android:layout_below="@id/lat_label"
110                                 android:text=""
111                                 android:textAppearance="?android:attr/textAppearanceLarge" />
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/lon_label"
122                                 android:layout_width="wrap_content"
123                                 android:layout_height="wrap_content"
124                                 android:text="@string/longitude_label" />
125
126                         <TextView
127                                 android:id="@+id/lon_value"
128                                 android:layout_width="wrap_content"
129                                 android:layout_height="wrap_content"
130                                 android:layout_alignParentRight="true"
131                                 android:layout_below="@id/lon_label"
132                                 android:text=""
133                                 android:textAppearance="?android:attr/textAppearanceLarge" />
134                 </RelativeLayout>
135         </LinearLayout>
136 </LinearLayout>