350a1e587a75b60938afe61587c807c27d3d916f
[fw/altos] / altosdroid / res / layout / igniters.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3
4  Copyright © 2016 Keith Packard <keithp@keithp.com>
5
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; version 2 of the License.
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 -->
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21     android:orientation="vertical"
22     android:layout_width="match_parent"
23     android:layout_height="match_parent"
24     >
25
26     <ListView android:id="@+id/igniters"
27         android:layout_width="match_parent"
28         android:layout_height="wrap_content"
29         android:layout_weight="1"
30         android:fadeScrollbars="false"
31         android:scrollbars="vertical"
32         android:choiceMode="singleChoice"
33         />
34
35     <ToggleButton android:id="@+id/igniter_arm"
36             android:layout_width="match_parent"
37             android:layout_height="wrap_content"
38             android:textOn="@string/igniter_armed"
39             android:textOff="@string/igniter_arm"
40             />
41     
42     <Button android:id="@+id/igniter_fire"
43             android:layout_width="match_parent"
44             android:layout_height="wrap_content"
45             android:text="@string/igniter_fire"
46             />
47     
48 </LinearLayout>