Merge branch 'master' into droid-gps
[fw/altos] / altosdroid / res / layout / tab_pad.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="fill_parent"
20         android:layout_height="wrap_content"
21         android:layout_weight="0"
22         android:orientation="vertical" >
23
24         <RelativeLayout
25                 android:layout_width="wrap_content"
26                 android:layout_height="wrap_content" >
27
28                 <ImageView
29                         android:id="@+id/battery_redled"
30                         android:layout_width="wrap_content"
31                         android:layout_height="wrap_content"
32                         android:contentDescription="@string/battery_voltage_label"
33                         android:src="@drawable/redled" />
34
35                 <ImageView
36                         android:id="@+id/battery_greenled"
37                         android:layout_width="wrap_content"
38                         android:layout_height="wrap_content"
39                         android:layout_toRightOf="@id/battery_redled"
40                         android:contentDescription="@string/battery_voltage_label"
41                         android:paddingRight="5dp"
42                         android:src="@drawable/grayled" />
43
44                 <TextView
45                         android:id="@+id/battery_voltage_label"
46                         android:layout_width="wrap_content"
47                         android:layout_height="wrap_content"
48                         android:layout_toRightOf="@id/battery_greenled"
49                         android:text="@string/battery_voltage_label" />
50
51                 <TextView
52                         android:id="@+id/battery_voltage_value"
53                         android:layout_width="wrap_content"
54                         android:layout_height="wrap_content"
55                         android:layout_below="@id/battery_voltage_label"
56                         android:layout_toRightOf="@id/battery_greenled"
57                         android:text=""
58                         android:textAppearance="?android:attr/textAppearanceSmall" />
59         </RelativeLayout>
60
61         <RelativeLayout
62                 android:layout_width="wrap_content"
63                 android:layout_height="wrap_content"
64                 android:paddingTop="5dp" >
65
66                 <ImageView
67                         android:id="@+id/apogee_redled"
68                         android:layout_width="wrap_content"
69                         android:layout_height="wrap_content"
70                         android:contentDescription="@string/apogee_voltage_label"
71                         android:src="@drawable/redled" />
72
73                 <ImageView
74                         android:id="@+id/apogee_greenled"
75                         android:layout_width="wrap_content"
76                         android:layout_height="wrap_content"
77                         android:layout_toRightOf="@id/apogee_redled"
78                         android:contentDescription="@string/apogee_voltage_label"
79                         android:paddingRight="5dp"
80                         android:src="@drawable/grayled" />
81
82                 <TextView
83                         android:id="@+id/apogee_voltage_label"
84                         android:layout_width="wrap_content"
85                         android:layout_height="wrap_content"
86                         android:layout_toRightOf="@id/apogee_greenled"
87                         android:text="@string/apogee_voltage_label" />
88
89                 <TextView
90                         android:id="@+id/apogee_voltage_value"
91                         android:layout_width="wrap_content"
92                         android:layout_height="wrap_content"
93                         android:layout_below="@id/apogee_voltage_label"
94                         android:layout_toRightOf="@id/apogee_greenled"
95                         android:text=""
96                         android:textAppearance="?android:attr/textAppearanceSmall" />
97         </RelativeLayout>
98
99         <RelativeLayout
100                 android:layout_width="wrap_content"
101                 android:layout_height="wrap_content"
102                 android:paddingTop="5dp" >
103
104                 <ImageView
105                         android:id="@+id/main_redled"
106                         android:layout_width="wrap_content"
107                         android:layout_height="wrap_content"
108                         android:contentDescription="@string/main_voltage_label"
109                         android:src="@drawable/redled" />
110
111                 <ImageView
112                         android:id="@+id/main_greenled"
113                         android:layout_width="wrap_content"
114                         android:layout_height="wrap_content"
115                         android:layout_toRightOf="@id/main_redled"
116                         android:contentDescription="@string/main_voltage_label"
117                         android:paddingRight="5dp"
118                         android:src="@drawable/grayled" />
119
120                 <TextView
121                         android:id="@+id/main_voltage_label"
122                         android:layout_width="wrap_content"
123                         android:layout_height="wrap_content"
124                         android:layout_toRightOf="@id/main_greenled"
125                         android:text="@string/main_voltage_label" />
126
127                 <TextView
128                         android:id="@+id/main_voltage_value"
129                         android:layout_width="wrap_content"
130                         android:layout_height="wrap_content"
131                         android:layout_below="@id/main_voltage_label"
132                         android:layout_toRightOf="@id/main_greenled"
133                         android:text=""
134                         android:textAppearance="?android:attr/textAppearanceSmall" />
135         </RelativeLayout>
136
137         <RelativeLayout
138                 android:layout_width="wrap_content"
139                 android:layout_height="wrap_content"
140                 android:paddingTop="5dp" >
141
142                 <ImageView
143                         android:id="@+id/logging_redled"
144                         android:layout_width="wrap_content"
145                         android:layout_height="wrap_content"
146                         android:contentDescription="@string/logging_label"
147                         android:src="@drawable/redled" />
148
149                 <ImageView
150                         android:id="@+id/logging_greenled"
151                         android:layout_width="wrap_content"
152                         android:layout_height="wrap_content"
153                         android:layout_toRightOf="@id/logging_redled"
154                         android:contentDescription="@string/logging_label"
155                         android:paddingRight="5dp"
156                         android:src="@drawable/grayled" />
157
158                 <TextView
159                         android:id="@+id/logging_label"
160                         android:layout_width="wrap_content"
161                         android:layout_height="wrap_content"
162                         android:layout_toRightOf="@id/logging_greenled"
163                         android:text="@string/logging_label" />
164
165                 <TextView
166                         android:id="@+id/logging_value"
167                         android:layout_width="wrap_content"
168                         android:layout_height="wrap_content"
169                         android:layout_below="@id/logging_label"
170                         android:layout_toRightOf="@id/logging_greenled"
171                         android:text=""
172                         android:textAppearance="?android:attr/textAppearanceSmall" />
173         </RelativeLayout>
174
175         <RelativeLayout
176                 android:layout_width="wrap_content"
177                 android:layout_height="wrap_content"
178                 android:paddingTop="5dp" >
179
180                 <ImageView
181                         android:id="@+id/gps_locked_redled"
182                         android:layout_width="wrap_content"
183                         android:layout_height="wrap_content"
184                         android:contentDescription="@string/gps_locked_label"
185                         android:src="@drawable/redled" />
186
187                 <ImageView
188                         android:id="@+id/gps_locked_greenled"
189                         android:layout_width="wrap_content"
190                         android:layout_height="wrap_content"
191                         android:layout_toRightOf="@id/gps_locked_redled"
192                         android:contentDescription="@string/gps_locked_label"
193                         android:paddingRight="5dp"
194                         android:src="@drawable/grayled" />
195
196                 <TextView
197                         android:id="@+id/gps_locked_label"
198                         android:layout_width="wrap_content"
199                         android:layout_height="wrap_content"
200                         android:layout_toRightOf="@id/gps_locked_greenled"
201                         android:text="@string/gps_locked_label" />
202
203                 <TextView
204                         android:id="@+id/gps_locked_value"
205                         android:layout_width="wrap_content"
206                         android:layout_height="wrap_content"
207                         android:layout_below="@id/gps_locked_label"
208                         android:layout_toRightOf="@id/gps_locked_greenled"
209                         android:text=""
210                         android:textAppearance="?android:attr/textAppearanceSmall" />
211         </RelativeLayout>
212
213         <RelativeLayout
214                 android:layout_width="wrap_content"
215                 android:layout_height="wrap_content"
216                 android:paddingTop="5dp" >
217
218                 <ImageView
219                         android:id="@+id/gps_ready_redled"
220                         android:layout_width="wrap_content"
221                         android:layout_height="wrap_content"
222                         android:contentDescription="@string/gps_ready_label"
223                         android:src="@drawable/redled" />
224
225                 <ImageView
226                         android:id="@+id/gps_ready_greenled"
227                         android:layout_width="wrap_content"
228                         android:layout_height="wrap_content"
229                         android:layout_toRightOf="@id/gps_ready_redled"
230                         android:contentDescription="@string/gps_ready_label"
231                         android:paddingRight="5dp"
232                         android:src="@drawable/grayled" />
233
234                 <TextView
235                         android:id="@+id/gps_ready_label"
236                         android:layout_width="wrap_content"
237                         android:layout_height="wrap_content"
238                         android:layout_toRightOf="@id/gps_ready_greenled"
239                         android:text="@string/gps_ready_label" />
240
241                 <TextView
242                         android:id="@+id/gps_ready_value"
243                         android:layout_width="wrap_content"
244                         android:layout_height="wrap_content"
245                         android:layout_below="@id/gps_ready_label"
246                         android:layout_toRightOf="@id/gps_ready_greenled"
247                         android:text=""
248                         android:textAppearance="?android:attr/textAppearanceSmall" />
249         </RelativeLayout>
250
251         <RelativeLayout
252                 android:layout_width="wrap_content"
253                 android:layout_height="wrap_content"
254                 android:paddingLeft="69dp"
255                 android:paddingTop="5dp" >
256
257                 <TextView
258                         android:id="@+id/pad_lat_label"
259                         android:layout_width="wrap_content"
260                         android:layout_height="wrap_content"
261                         android.paddingRight="4dp"
262                         android:layout_toRightOf="@id/gps_ready_greenled"
263                         android:text="@string/pad_lat_label" />
264
265                 <TextView
266                         android:id="@+id/pad_lat_value"
267                         android:layout_width="wrap_content"
268                         android:layout_height="wrap_content"
269                         android:layout_toRightOf="@id/pad_lat_label"
270                         android:text=""
271                         android:textAppearance="?android:attr/textAppearanceSmall" />
272         </RelativeLayout>
273
274         <RelativeLayout
275                 android:layout_width="wrap_content"
276                 android:layout_height="wrap_content"
277                 android:paddingLeft="69dp"
278                 android:paddingTop="5dp" >
279
280                 <TextView
281                         android:id="@+id/pad_lon_label"
282                         android:layout_width="wrap_content"
283                         android:layout_height="wrap_content"
284                         android.paddingRight="4dp"
285                         android:layout_toRightOf="@id/gps_ready_greenled"
286                         android:text="@string/pad_lon_label" />
287
288                 <TextView
289                         android:id="@+id/pad_lon_value"
290                         android:layout_width="wrap_content"
291                         android:layout_height="wrap_content"
292                         android:layout_toRightOf="@id/pad_lon_label"
293                         android:text=""
294                         android:textAppearance="?android:attr/textAppearanceSmall" />
295         </RelativeLayout>
296
297         <RelativeLayout
298                 android:layout_width="wrap_content"
299                 android:layout_height="wrap_content"
300                 android:paddingLeft="69dp"
301                 android:paddingTop="5dp" >
302
303                 <TextView
304                         android:id="@+id/pad_alt_label"
305                         android:layout_width="wrap_content"
306                         android:layout_height="wrap_content"
307                         android.paddingRight="4dp"
308                         android:layout_toRightOf="@id/gps_ready_greenled"
309                         android:text="@string/pad_alt_label" />
310
311                 <TextView
312                         android:id="@+id/pad_alt_value"
313                         android:layout_width="wrap_content"
314                         android:layout_height="wrap_content"
315                         android:layout_toRightOf="@id/pad_alt_label"
316                         android:text=""
317                         android:textAppearance="?android:attr/textAppearanceSmall" />
318         </RelativeLayout>
319
320 </LinearLayout>