altosdroid: Add text size selection
[fw/altos] / altosdroid / app / src / main / 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; either version 2 of the License, or
8     (at your option) any later version.
9
10      This program is distributed in the hope that it will be useful, but
11      WITHOUT ANY WARRANTY; without even the implied warranty of
12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13      General Public License for more details.
14
15      You should have received a copy of the GNU General Public License along
16      with this program; if not, write to the Free Software Foundation, Inc.,
17      59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20         android:layout_width="match_parent"
21         android:layout_height="match_parent"
22         android:orientation="vertical" >
23
24   <FrameLayout
25       android:layout_width="fill_parent"
26       android:layout_height="wrap_content"
27       android:baselineAligned="true"
28       android:orientation="horizontal"
29       android:layout_weight="1">
30
31     <LinearLayout
32         android:id="@+id/map_online"
33         android:orientation="horizontal"
34         android:layout_width="fill_parent"
35         android:layout_height="fill_parent"
36         android:layout_weight="1">
37     </LinearLayout>
38
39     <org.altusmetrum.AltosDroid.AltosMapOffline
40         android:id="@+id/map_offline"
41         android:layout_width="fill_parent"
42         android:layout_height="wrap_content"
43         android:layout_weight="1"/>
44   </FrameLayout>
45   
46   <TableLayout
47       xmlns:android="http://schemas.android.com/apk/res/android"
48       android:stretchColumns="1,3"
49       android:layout_width="fill_parent"
50       android:layout_height="wrap_content"
51       android:baselineAligned="true"
52       android:orientation="horizontal" >
53
54       <TableRow
55           android:layout_gravity="center"
56           android:layout_weight="1"
57           android:padding="2dip"
58           android:layout_width="wrap_content"
59           android:layout_height="wrap_content">
60           <TextView
61               android:id="@+id/distance_label"
62               android:layout_width="wrap_content"
63               android:layout_height="wrap_content"
64               android:paddingRight="4dp"
65               android:text="@string/distance_label" />
66
67           <TextView
68               android:id="@+id/distance_value"
69               android:layout_width="wrap_content"
70               android:layout_height="wrap_content"
71               android:layout_weight="1"
72               android:text="" />
73
74           <TextView
75               android:id="@+id/bearing_label"
76               android:layout_width="wrap_content"
77               android:layout_height="wrap_content"
78               android:paddingRight="4dp"
79               android:text="@string/bearing_label" />
80
81           <TextView
82               android:id="@+id/bearing_value"
83               android:layout_width="wrap_content"
84               android:layout_height="wrap_content"
85               android:text="" />
86       </TableRow>
87   </TableLayout>
88
89   <TableLayout
90       xmlns:android="http://schemas.android.com/apk/res/android"
91       android:stretchColumns="1,2"
92       android:layout_width="wrap_content"
93       android:layout_height="wrap_content"
94       android:baselineAligned="true"
95       android:orientation="horizontal" >
96
97       <TableRow
98           android:layout_gravity="center"
99           android:layout_weight="1"
100           android:padding="2dip"
101           android:layout_width="wrap_content"
102           android:layout_height="wrap_content">
103
104           <TextView
105               android:id="@+id/target_pos_label"
106               android:layout_width="wrap_content"
107               android:layout_height="wrap_content"
108               android:paddingRight="4dp"
109               android:text="@string/target_pos_label" />
110
111           <TextView
112               android:id="@+id/target_lat_value"
113               android:layout_width="wrap_content"
114               android:layout_height="wrap_content"
115               android:text="" />
116
117           <TextView
118               android:id="@+id/target_lon_value"
119               android:layout_width="wrap_content"
120               android:layout_height="wrap_content"
121               android:text="" />
122       </TableRow>
123
124       <TableRow
125           android:layout_gravity="center"
126           android:layout_weight="1"
127           android:padding="2dip"
128           android:layout_width="wrap_content"
129           android:layout_height="wrap_content">
130
131           <TextView
132               android:id="@+id/receiver_pos_label"
133               android:layout_width="wrap_content"
134               android:layout_height="wrap_content"
135               android:paddingRight="4dp"
136               android:text="@string/receiver_pos_label" />
137
138           <TextView
139               android:id="@+id/receiver_lat_value"
140               android:layout_width="wrap_content"
141               android:layout_height="wrap_content"
142               android:text="" />
143
144           <TextView
145               android:id="@+id/receiver_lon_value"
146               android:layout_width="wrap_content"
147               android:layout_height="wrap_content"
148               android:text="" />
149       </TableRow>
150   </TableLayout>
151 </LinearLayout>