1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright © 2012-2013 Mike Beattie <mike@ethernal.org>
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.
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.
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.
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 android:layout_width="fill_parent"
20 android:layout_height="wrap_content"
21 android:layout_weight="0"
22 android:orientation="vertical" >
25 xmlns:android="http://schemas.android.com/apk/res/android"
26 android:layout_width="fill_parent"
27 android:layout_height="wrap_content"
28 android:layout_weight="0"
29 android:baselineAligned="true"
30 android:orientation="horizontal" >
33 android:id="@+id/callsign_container"
34 android:layout_width="0dp"
35 android:layout_height="wrap_content"
36 android:layout_weight="1" >
39 android:id="@+id/callsign_label"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:text="@string/callsign_label" />
45 android:id="@+id/callsign_value"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_below="@+id/callsign_label"
50 android:textAppearance="?android:attr/textAppearanceSmall" />
54 android:id="@+id/serial_container"
55 android:layout_width="0dp"
56 android:layout_height="wrap_content"
57 android:layout_weight="1" >
60 android:id="@+id/serial_label"
61 android:layout_width="wrap_content"
62 android:layout_height="wrap_content"
63 android:text="@string/serial_label" />
66 android:id="@+id/serial_value"
67 android:layout_width="wrap_content"
68 android:layout_height="wrap_content"
69 android:layout_below="@+id/serial_label"
70 android:textAppearance="?android:attr/textAppearanceSmall" />
74 android:id="@+id/flight_container"
75 android:layout_width="0dp"
76 android:layout_height="wrap_content"
77 android:layout_weight="1" >
80 android:id="@+id/flight_label"
81 android:layout_width="wrap_content"
82 android:layout_height="wrap_content"
83 android:text="@string/flight_label" />
86 android:id="@+id/flight_value"
87 android:layout_width="wrap_content"
88 android:layout_height="wrap_content"
89 android:layout_below="@+id/flight_label"
90 android:textAppearance="?android:attr/textAppearanceSmall" />
94 android:id="@+id/state_container"
95 android:layout_width="0dp"
96 android:layout_height="wrap_content"
97 android:layout_weight="1" >
100 android:id="@+id/state_label"
101 android:layout_width="wrap_content"
102 android:layout_height="wrap_content"
103 android:text="@string/state_label" />
106 android:id="@+id/state_value"
107 android:layout_width="wrap_content"
108 android:layout_height="wrap_content"
109 android:layout_below="@+id/state_label"
110 android:textAppearance="?android:attr/textAppearanceSmall" />
114 android:id="@+id/rssi_container"
115 android:layout_width="0dp"
116 android:layout_height="wrap_content"
117 android:layout_weight="1" >
120 android:id="@+id/rssi_label"
121 android:layout_width="wrap_content"
122 android:layout_height="wrap_content"
123 android:text="@string/rssi_label" />
126 android:id="@+id/rssi_value"
127 android:layout_width="wrap_content"
128 android:layout_height="wrap_content"
129 android:layout_below="@+id/rssi_label"
130 android:textAppearance="?android:attr/textAppearanceSmall" />
134 android:id="@+id/age_container"
135 android:layout_width="0dp"
136 android:layout_height="wrap_content"
137 android:layout_weight="1" >
140 android:id="@+id/age_label"
141 android:layout_width="wrap_content"
142 android:layout_height="wrap_content"
143 android:text="@string/age_label" />
146 android:id="@+id/age_value"
147 android:layout_width="wrap_content"
148 android:layout_height="wrap_content"
149 android:layout_below="@+id/age_label"
150 android:textAppearance="?android:attr/textAppearanceSmall" />
155 xmlns:android="http://schemas.android.com/apk/res/android"
156 android:id="@android:id/tabhost"
157 android:layout_width="fill_parent"
158 android:layout_height="0dp"
159 android:layout_weight="1" >
162 android:layout_width="match_parent"
163 android:layout_height="match_parent"
164 android:orientation="vertical" >
167 android:id="@android:id/tabs"
168 android:layout_width="match_parent"
169 android:layout_height="wrap_content"
170 android:layout_weight="0"
171 android:orientation="horizontal" />
174 android:id="@android:id/tabcontent"
175 android:layout_width="0dp"
176 android:layout_height="0dp"
177 android:layout_weight="0" />
179 <org.altusmetrum.AltosDroid.AltosViewPager
180 android:id="@+id/pager"
181 android:layout_width="match_parent"
182 android:layout_height="0dp"
183 android:layout_weight="1" />
188 android:id="@+id/version"
189 android:layout_width="fill_parent"
190 android:layout_height="10dip"
191 android:layout_weight="0"
192 android:gravity="bottom|right"
193 android:textSize="7sp"
194 android:typeface="monospace" />