1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2012-2013 Mike Beattie <mike@ethernal.org>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License along
17 with this program; if not, write to the Free Software Foundation, Inc.,
18 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:layout_width="fill_parent"
23 android:layout_height="wrap_content"
24 android:layout_weight="0"
25 android:orientation="vertical" >
28 xmlns:android="http://schemas.android.com/apk/res/android"
29 android:layout_width="fill_parent"
30 android:layout_height="wrap_content"
31 android:layout_weight="0"
32 android:baselineAligned="true"
33 android:orientation="horizontal" >
36 android:id="@+id/callsign_container"
37 android:layout_width="0dp"
38 android:layout_height="wrap_content"
39 android:layout_weight="1" >
42 android:id="@+id/callsign_label"
43 android:layout_width="wrap_content"
44 android:layout_height="wrap_content"
45 android:text="@string/callsign_label" />
48 android:id="@+id/callsign_value"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:layout_below="@+id/callsign_label"
53 android:textAppearance="?android:attr/textAppearanceSmall" />
57 android:id="@+id/serial_container"
58 android:layout_width="0dp"
59 android:layout_height="wrap_content"
60 android:layout_weight="1" >
63 android:id="@+id/serial_label"
64 android:layout_width="wrap_content"
65 android:layout_height="wrap_content"
66 android:text="@string/serial_label" />
69 android:id="@+id/serial_value"
70 android:layout_width="wrap_content"
71 android:layout_height="wrap_content"
72 android:layout_below="@+id/serial_label"
73 android:textAppearance="?android:attr/textAppearanceSmall" />
77 android:id="@+id/flight_container"
78 android:layout_width="0dp"
79 android:layout_height="wrap_content"
80 android:layout_weight="1" >
83 android:id="@+id/flight_label"
84 android:layout_width="wrap_content"
85 android:layout_height="wrap_content"
86 android:text="@string/flight_label" />
89 android:id="@+id/flight_value"
90 android:layout_width="wrap_content"
91 android:layout_height="wrap_content"
92 android:layout_below="@+id/flight_label"
93 android:textAppearance="?android:attr/textAppearanceSmall" />
97 android:id="@+id/state_container"
98 android:layout_width="0dp"
99 android:layout_height="wrap_content"
100 android:layout_weight="1" >
103 android:id="@+id/state_label"
104 android:layout_width="wrap_content"
105 android:layout_height="wrap_content"
106 android:text="@string/state_label" />
109 android:id="@+id/state_value"
110 android:layout_width="wrap_content"
111 android:layout_height="wrap_content"
112 android:layout_below="@+id/state_label"
113 android:textAppearance="?android:attr/textAppearanceSmall" />
117 android:id="@+id/rssi_container"
118 android:layout_width="0dp"
119 android:layout_height="wrap_content"
120 android:layout_weight="1" >
123 android:id="@+id/rssi_label"
124 android:layout_width="wrap_content"
125 android:layout_height="wrap_content"
126 android:text="@string/rssi_label" />
129 android:id="@+id/rssi_value"
130 android:layout_width="wrap_content"
131 android:layout_height="wrap_content"
132 android:layout_below="@+id/rssi_label"
133 android:textAppearance="?android:attr/textAppearanceSmall" />
137 android:id="@+id/age_container"
138 android:layout_width="0dp"
139 android:layout_height="wrap_content"
140 android:layout_weight="1" >
143 android:id="@+id/age_label"
144 android:layout_width="wrap_content"
145 android:layout_height="wrap_content"
146 android:text="@string/age_label" />
149 android:id="@+id/age_value"
150 android:layout_width="wrap_content"
151 android:layout_height="wrap_content"
152 android:layout_below="@+id/age_label"
153 android:textAppearance="?android:attr/textAppearanceSmall" />
158 xmlns:android="http://schemas.android.com/apk/res/android"
159 android:id="@android:id/tabhost"
160 android:layout_width="fill_parent"
161 android:layout_height="0dp"
162 android:layout_weight="1" >
165 android:layout_width="match_parent"
166 android:layout_height="match_parent"
167 android:orientation="vertical" >
170 android:id="@android:id/tabs"
171 android:layout_width="match_parent"
172 android:layout_height="wrap_content"
173 android:layout_weight="0"
174 android:orientation="horizontal" />
177 android:id="@android:id/tabcontent"
178 android:layout_width="0dp"
179 android:layout_height="0dp"
180 android:layout_weight="0" />
182 <org.altusmetrum.AltosDroid.AltosViewPager
183 android:id="@+id/pager"
184 android:layout_width="match_parent"
185 android:layout_height="0dp"
186 android:layout_weight="1" />
191 android:id="@+id/version"
192 android:layout_width="fill_parent"
193 android:layout_height="10dip"
194 android:layout_weight="0"
195 android:gravity="bottom|right"
196 android:textSize="7sp"
197 android:typeface="monospace" />